omni::stoll
Defined in omni/String.h
-
long long omni::stoll(const string &str, std::size_t *pos = nullptr, int base = 10)
Interprets the string
str
as a signed integer value.- Parameters
str – The string to convert.
pos – Address of an integer to store the number of characters processed.
base – The number base.
- Throws
- Returns
Integer value corresponding to the contents of
str
.