Using Eclipse Mars, I am getting the Symbol 'unique_ptr' could not be resolved
error. I tried adding -std=c++11
to CDT GCC Built-in Compiler Settings, but this didn't help. The error goes away when I reopen Eclipse, but if I make a modification to the code, the error comes back.
One simple code sample:
std::unique_ptr<String> p1;