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
 Intellisense not working with stl containers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

steve_dercks
Junior Member

USA
17 Posts

Posted - Jan 13 2012 :  1:13:49 PM  Show Profile  Reply with Quote
With the code....

#include "stdafx.h"
#include <deque>

struct simplestruct
{
int IntMember;
long LongMember;
};


int main(int argc, char* argv[])
{
std::deque<simplestruct> list;

simplestruct item;

list.push_back(item);

list[0].IntMember = 100;

int n = list[0].IntMember;

return 0;
}

VA doesn't recognize any of the structure members.



I am using Visual Studio 6.0
VA Version 10.6.1862.0

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jan 16 2012 :  12:41:15 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=24175

Unfortunately this is currently a known problem. There is something different, and confusing to our parser about array access on std::deque in VC6. VA understands this code without any problems in later IDE's, which is somewhat unexpected.

zen is the art of being at one with the two'ness
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