HomeManualTopicsTypesSymbols

std::to_string

returns a human readable presentation of the object

Parameter

object
the object to be converted

Result

string
the string representation of object

Description

Returns a string representation of its single argument.

When called on a string the string is returned unaltered.

Topic

Strings

See also

std::to_number converts its argument into a number
std::to_integer converts its argument into an integer number
std::to_real converts its argument into a real (floating point) number

Implemented by

std_types::character returns a single-character string containing only the specified character
std_types::date_and_time returns a string representation of the date-and-time object
std_types::negative_integer returns a human readable string representation
std_types::positive_integer returns a human readable string representation
std_types::real returns a human readable string representation
std_types::string returns its argument unaltered