Function email::utils::optional_stoll

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