stold overloads
Declared in <bslstl_string.h>
Parse a string as a long double value.
long double
stold(
string const& str,
std::size_t* pos = 0);
» more...
Same as stold for wstring.
long double
stold(
wstring const& str,
std::size_t* pos = 0);
» more...
long double value parsed from str
| Name | Description |
|---|---|
| str | string to parse |
| pos | optional output for the index after the parsed value |