BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debugging and std::pair

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Dennis Jones
Guest





PostPosted: Fri Mar 25, 2005 6:33 pm    Post subject: Debugging and std::pair Reply with quote



Hi,

Does anybody know how one could view the contents of a simple std::pair
instance in the debugger? For example:

std::pair< AnsiString, AnsiString > aPair;

When "aPair.first" is viewed in the watch window, the result is always
something like:

"first is not a member of _STL::pair<AnsiString, AnsiString>, because the
type is not yet defined"

And if I try just viewing aPair in the watch window, all I get is:

"{ }"

So, is there not any way I can view the contents of a 'pair' in the
debugger?

- Dennis


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.