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