Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 std::vector issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - Nov 04 2010 :  03:27:17 AM  Show Profile  Reply with Quote
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...

Edited by - Dusan on Nov 04 2010 03:38:53 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 04 2010 :  4:23:03 PM  Show Profile  Reply with Quote
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?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000