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