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
 No auto complete with std::vector::iterator
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

vs_at_sg
New Member

2 Posts

Posted - Aug 17 2004 :  11:06:55 AM  Show Profile

// See comment bellow:
#include <vector>

class A
{
public:
	int m_int;
	void foo();
};

int _tmain(int argc, char* argv[])
{
	std::vector<A> vector_a;
	vector_a.resize(10);

	std::vector<A>::iterator iter = vector_a.begin();

	//
	// expected visual assist to offer completion here for template
	// type, but not getting it.
	//
	// Instead getting completion for std::vector.
	//
	iter->no help from visual assist
	(*iter).no help from visual assist

	return 0;
}

VA_X.dll file version 10.0.1214.0
DevEnv.exe version 7.10.3077.0
msenv.dll version 1.0.5849.1
Microsoft Visual C++ .NET US English 7.1.3088

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Aug 17 2004 :  11:52:24 AM  Show Profile
I'm sure I've seen this reported several times before. Searching the forums for "iterator" shows history back to 2002, with various reports that it has been fixed and that it hasn't really been fixed.

Maybe support can tell us what they think the current state of STL handling is.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 17 2004 :  3:29:03 PM  Show Profile
this looks like general template problems again, case=201

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000