Synopses
Declared in <bslstl_string.h>
Parse the specified str as a signed integer; see stol for details.
int
stoi(
string const& str,
std::size_t* pos = 0,
int base = 10);
» more...
Same as stoi for wstring.
int
stoi(
wstring const& str,
std::size_t* pos = 0,
int base = 10);
» more...