Dear friends:
I am trying to convert a double to string format using the std::to_string function, but it gives me the following error message. i do not understand why the functgion does not support the double format. i use the vs2010.
> error C2668: 'std::to_string' : ambiguous call to overloaded function
1> E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(688): could be 'std::string std::to_string(long double)'
1> E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(680): or 'std::string std::to_string(_ULonglong)'
1> E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(672): or 'std::string std::to_string(_Longlong)'
1> while trying to match the argument list '(double)'