I have added -std=c++0x to CFLAGS to enable C++11 support, and it works fine – except from intellisense.
What I want, is to take advantage of the C++11 smart-pointers like shared_ptr and unique_ptr.
Fx, if I do:
std::shared_ptr ptr( new int(5) );
there will be red squiggly lines under the new keyword.
The compiler can’t see methods related to shared_ptr like reset:
ptr.reset(…);
Even though it compiles fine, its pretty annoying that intellisense is missing.
Is it possible to add some kind of path to help intellisense?