Function stoszt_nothrow (o2scl)

O2scl : Function List

int o2scl::stoszt_nothrow(std::string s, size_t &result)

Convert a string to a size_t without throwing an exception.

If err_on_fail is true and the conversion fails, this function calls the error handler, otherwise this function just returns zero.