Eclipse CDT indexing and std::unique_ptr
I am using std::unique_ptr in this piece of code which compiles and runs as I expected. std::stringstream out; out << std::setw(3) << std::setfill('0') << i; std::unique_ptr<std::string> s(new std::string(out.str())); s->insert(s->end()-2, 1, '.'); return std::move(s); However, I am getting error messages from Eclipse CDT. At the fourth line: Method 'insert' could not be resolved, Method 'end' could not be resolved. Previously, I was also getting errors on appearances of the name std::unique_ptr. This was solved by setting the pre-processor symbol __GXX_EXPERIMENTAL_CXX0X__ and rebuilding the