|
Re: Atomic Symbols Cannot be Resolved [message #1734398 is a reply to message #1734371] |
Tue, 07 June 2016 22:59 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I can't either. Probably a bug. The indexer has problems with other things too. Some of which have been resolved in later releases.
Possibly because the definition has some conditional preprocessor code that the indexer is unaware of.
Submit a bug report.
To get around it in the meantime, you can try to make definitions just for the indexer and surround them with #ifdef __CDT_PARSER__ ... #endif
Something like
#ifdef __CDT_PARSER__
template<class T>
class atomic {
atomic(T x=T());
:
:
};
#else
#include <atomic>
#endif
Or get used to seeing red underlined code
|
|
|
Powered by
FUDForum. Page generated in 0.02622 seconds