Template Function c4::overflows

Function Documentation

template<class T>
auto c4::overflows(csubstr str) noexcept -> typename std::enable_if<std::is_unsigned<T>::value, bool>::type

Test if the following string would overflow when converted to associated types.

Returns:

true if number will overflow, false if it fits (or doesn’t parse)