bsl::stoi

Parse the specified str as a signed integer; see stol for details.

Synopsis

Declared in <bslstl_string.h>

int
stoi(
    string const& str,
    std::size_t* pos = 0,
    int base = 10);