34 if (errno || endptr == buf)
37 return (errno == ERANGE ? errorType::RANGE : errorType::GENERAL);
49 return errorType::TRAILING;
53 return errorType::NONE;
errorType checkConversion(const char *buf, char *endptr)
Sanity check after strtof, strtod, etc.
errorType
Enumeration for possible parsing error.
bool isspace(char c) noexcept
Test for whitespace (C-locale)