Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 boost typedef iterator

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
hfrmobile Posted - Mar 09 2011 : 07:43:31 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
hfrmobile Posted - Mar 18 2011 : 06:24:24 AM
You're welcome.
accord Posted - Mar 10 2011 : 5:17:32 PM
I am seeing the same effect here. Thank you for the clear description.

case=55948

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