I find the whole package in my copy of the standard:
string to_string(int val); string to_string(unsigned val); string to_string(long val); string to_string(unsigned long val); string to_string(long long val); string to_string(unsigned long long val); string to_string(float val); string to_string(double val); string to_string(long double val);
Perhaps your compiler has not yet completed all of them?
Functionality is described as
Returns: each function returns a string object containing a symbolic representation of the value of its argument, which is generated by calling sprintf(buf, fmt, val)
with the format specifier "%d"
, "%u"
, "%ld"
, "%lu"
, "%lld"
, "%llu"
, "%f"
, "%f"
or "%Lf"
respectively, where buf
is an internal character buffer of sufficient size.
Since this is supposed to be a wrapper around sprintf
, it was probably decided not to throw any exceptions, since sprintf
does not work.
source share