Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 std::vector issue

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Dusan Posted - Nov 04 2010 : 03:27:17 AM
Issue came from std::vector(may be another STL containers) containing some class or struct. Sometimes happen that even I have set index, let's say vec[i]. I get members of vector, so not members of class/struct contained...
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 04 2010 : 4:23:03 PM
When do you see this problem? Are you chaining together two operator [], like in the following code snippet?
foo.vecVector[0].vecData[0].nSize;

If you aren't, can you please give me an example where it happens?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000