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