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. |
|
|