I have error "Function 'to_string' clould not be resolved" although others C++11 expressions are properly running. I use Eclipse Mars CDT with GCC-C++ 4.9 on Linux Mint.
#include <iostream>
#include <string>
using std::string;
int main()
{
int a = 123;
string str = std::to_string(a);
}
Yes, I used -std=c++11, __GXX_EXPERIMANTAL_CXX0X__, and -std=c++0x.