stoll
Fully qualified name: 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:
 
- 
 
- Throws:
 
std::invalid_argument – If no conversion could be performed. 
 
std::out_of_range – If the converted value would fall out of the range of the result type or if the underlying function (std::strtoll) sets errno to ERANGE. 
 
 
- Returns:
 
Integer value corresponding to the contents of str.