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
 boost typedef iterator
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Mar 09 2011 :  07:43:31 AM  Show Profile  Reply with Quote
Red underlined + "Refactoring not available on symbol".

"Refactoring not available on symbol" is not the problem. But when something is underlined in red color it indicates a problem with the code. But there is no problem with the code. It seems that typedef and/or boost is causing VAX to underline it ...

Adding boost to the IDE's include directories does not solve the problem (this was suggested in a similar thread).

typedef within a class's header file:

typedef	boost::ptr_map<int, long>     TSampleMap;
typedef	TSampleMap::iterator          TSampleIterator;


Usage in a member function:

TSampleMap samples;

for (TSampleIterator i = samples.begin(); i != samples.end(); ++i)
{
	int first = i->first;
	long *second = i->second;
}


Causes always:


Using latest build (1842) in Visual Studio 2008.

--hfrmobile

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 10 2011 :  5:17:32 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=55948
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Mar 18 2011 :  06:24:24 AM  Show Profile  Reply with Quote
You're welcome.

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
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