Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Intellisense not working with stl containers

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
steve_dercks Posted - Jan 13 2012 : 1:13:49 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 16 2012 : 12:41:15 PM
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.

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