Function email::utils::optional_stoll
Defined in File utils.hpp
Function Documentation
-
std::optional<int64_t> email::utils::optional_stoll(const std::string &str)
Try to call
std::stoll
.- Parameters:
str – the string to convert to long int/long
- Returns:
the number, or
std::nullopt
if it fails