namespace: std
Description:
Synopsis:
std::string to_string (const std::u32string & _obj);
std::string to_string (bool _val);
std::string to_string (int _val);
std::string to_string (long _val);
std::string to_string (longlong _val);
std::string to_string (unsigned _val);
std::string to_string (unsignedlong _val);
std::string to_string (unsignedlonglong _val);
std::string to_string (float _val);
std::string to_string (double _val);
std::string to_string (longdouble _val);
std::u32string to_u32string (const char* _obj);
std::u32string to_u32string (const std::string & _obj);
std::u32string to_u32string (bool _val);
std::u32string to_u32string (int _val);
std::u32string to_u32string (long _val);
std::u32string to_u32string (longlong _val);
std::u32string to_u32string (unsigned _val);
std::u32string to_u32string (unsignedlong _val);
std::u32string to_u32string (unsignedlonglong _val);
std::u32string to_u32string (float _val);
std::u32string to_u32string (double _val);
std::u32string to_u32string (longdouble _val);
std::string to_string (T t,
std::ios_base&(*f)(std::ios_base & ));
std::u32string to_u32string (T t,
std::ios_base&(*f)(std::ios_base & ));
double stod (const std::string & _str,
size_t* _idx);
double stod (const std::u32string & _str,
size_t* _idx);
float stof (const std::string & _str,
size_t* _idx);
float stof (const std::u32string & _str,
size_t* _idx);
int stoi (const std::string & _str,
size_t* _idx,
int _base);
int stoi (const std::u32string & _str,
size_t* _idx,
int _base);
long stol (const std::string & _str,
size_t* _idx,
int _base);
long stol (const std::u32string & _str,
size_t* _idx,
int _base);
longdouble stold (const std::string & _str,
size_t* _idx);
longdouble stold (const std::u32string & _str,
size_t* _idx);
longlong stoll (const std::string & _str,
size_t* _idx,
int _base);
longlong stoll (const std::u32string & _str,
size_t* _idx,
int _base);
unsignedlong stoul (const std::string & _str,
size_t* _idx,
int _base);
unsignedlong stoul (const std::u32string & _str,
size_t* _idx,
int _base);
unsignedlonglong stoull (const std::string & _str,
size_t* _idx,
int _base);
unsignedlonglong stoull (const std::u32string & _str,
size_t* _idx,
int _base);
bool stob (const std::string & _str);
bool stob (const std::u32string & _str);
std::string tolower (std::string _obj);
std::u32string tolower (std::u32string _obj);
std::string toupper (std::string _obj);
std::u32string toupper (std::u32string _obj);
bool compare_no_case (const std::string & _obj,
const std::string & _val);
bool compare_no_case (const std::u32string & _obj,
const std::u32string & _val);
bool end_with (const std::string & _obj,
const std::string & _val,
bool _caseSensitive);
bool end_with (const std::u32string & _obj,
const std::u32string & _val,
bool _caseSensitive);
bool start_with (const std::string & _obj,
const std::string & _val,
bool _caseSensitive);
bool start_with (const std::u32string & _obj,
const std::u32string & _val,
bool _caseSensitive);
std::string replace (const std::string & _obj,
char _val,
char _replace);
std::u32string replace (const std::u32string & _obj,
char32_t _val,
char32_t _replace);
std::string extract_line (const std::string & _obj,
int32_t _pos);
std::u32string extract_line (const std::u32string & _obj,
int32_t _pos);
std::vector<std::string> split (const std::string & _input,
char _val);
std::vector<std::u32string> split (const std::u32string & _input,
char32_t _val);
void sort (std::vector<std::u32string*> & _list);
void sort (std::vector<std::string*> & _list);
Detail:
to_string
std::string to_string (const std::u32string & _obj);
std::string to_string (bool _val);
std::string to_string (int _val);
std::string to_string (long _val);
std::string to_string (longlong _val);
std::string to_string (unsigned _val);
std::string to_string (unsignedlong _val);
std::string to_string (unsignedlonglong _val);
std::string to_string (float _val);
std::string to_string (double _val);
std::string to_string (longdouble _val);
to_u32string
std::u32string to_u32string (const char* _obj);
std::u32string to_u32string (const std::string & _obj);
std::u32string to_u32string (bool _val);
std::u32string to_u32string (int _val);
std::u32string to_u32string (long _val);
std::u32string to_u32string (longlong _val);
std::u32string to_u32string (unsigned _val);
std::u32string to_u32string (unsignedlong _val);
std::u32string to_u32string (unsignedlonglong _val);
std::u32string to_u32string (float _val);
std::u32string to_u32string (double _val);
std::u32string to_u32string (longdouble _val);
to_string
std::string to_string (T t,
std::ios_base&(*f)(std::ios_base & ));
to_u32string
std::u32string to_u32string (T t,
std::ios_base&(*f)(std::ios_base & ));
stod
double stod (const std::string & _str,
size_t* _idx);
double stod (const std::u32string & _str,
size_t* _idx);
stof
float stof (const std::string & _str,
size_t* _idx);
float stof (const std::u32string & _str,
size_t* _idx);
stoi
int stoi (const std::string & _str,
size_t* _idx,
int _base);
int stoi (const std::u32string & _str,
size_t* _idx,
int _base);
stol
long stol (const std::string & _str,
size_t* _idx,
int _base);
long stol (const std::u32string & _str,
size_t* _idx,
int _base);
stold
longdouble stold (const std::string & _str,
size_t* _idx);
longdouble stold (const std::u32string & _str,
size_t* _idx);
stoll
longlong stoll (const std::string & _str,
size_t* _idx,
int _base);
longlong stoll (const std::u32string & _str,
size_t* _idx,
int _base);
stoul
unsignedlong stoul (const std::string & _str,
size_t* _idx,
int _base);
unsignedlong stoul (const std::u32string & _str,
size_t* _idx,
int _base);
stoull
unsignedlonglong stoull (const std::string & _str,
size_t* _idx,
int _base);
unsignedlonglong stoull (const std::u32string & _str,
size_t* _idx,
int _base);
stob
bool stob (const std::string & _str);
bool stob (const std::u32string & _str);
tolower
std::string tolower (std::string _obj);
std::u32string tolower (std::u32string _obj);
toupper
std::string toupper (std::string _obj);
std::u32string toupper (std::u32string _obj);
compare_no_case
bool compare_no_case (const std::string & _obj,
const std::string & _val);
bool compare_no_case (const std::u32string & _obj,
const std::u32string & _val);
end_with
bool end_with (const std::string & _obj,
const std::string & _val,
bool _caseSensitive);
bool end_with (const std::u32string & _obj,
const std::u32string & _val,
bool _caseSensitive);
start_with
bool start_with (const std::string & _obj,
const std::string & _val,
bool _caseSensitive);
bool start_with (const std::u32string & _obj,
const std::u32string & _val,
bool _caseSensitive);
replace
std::string replace (const std::string & _obj,
char _val,
char _replace);
std::u32string replace (const std::u32string & _obj,
char32_t _val,
char32_t _replace);
extract_line
std::string extract_line (const std::string & _obj,
int32_t _pos);
std::u32string extract_line (const std::u32string & _obj,
int32_t _pos);
split
std::vector<std::string> split (const std::string & _input,
char _val);
std::vector<std::u32string> split (const std::u32string & _input,
char32_t _val);
sort
void sort (std::vector<std::u32string*> & _list);
void sort (std::vector<std::string*> & _list);