0_0_18299581_15255.cpp: In function 'std::string to_string(int)':
0_0_18299581_15255.cpp:18:37: error: call of overloaded 'to_string(int)' is ambiguous
if ( x >= 10 ) ret = to_string(x/10) ;
^
0_0_18299581_15255.cpp:18:37: note: candidates are:
0_0_18299581_15255.cpp:16:8: note: std::string to_string(int)
string to_string( int x ) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18299581_15255.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2951:3: note: std::string std::to_string(long double)
to_string(long double __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2942:3: note: std::string std::to_string(double)
to_string(double __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2933:3: note: std::string std::to_string(float)
to_string(float __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2927:3: note: std::string std::to_string(long long unsigned int)
to_string(unsigned long long __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2921:3: note: std::string std::to_string(long long int)
to_string(long long __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2915:3: note: std::string std::to_string(long unsigned int)
to_string(unsigned long __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2910:3: note: std::string std::to_string(long int)
to_string(long __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2904:3: note: std::string std::to_string(unsigned int)
to_string(unsigned __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2899:3: note: std::string std::to_string(int)
to_string(int __val)
^
|