| 146 | bool IsASCIIDigit(UniChar c); |
| 147 | template <class StringT> |
| 148 | bool IsASCIINumeric(StringT const & str) |
| 149 | { |
| 150 | return !std::empty(str) && std::all_of(std::begin(str), std::end(str), &IsASCIIDigit); |
| 151 | } |
| 152 | inline bool IsASCIINumeric(char const * s) |
| 153 | { |
| 154 | return IsASCIINumeric(std::string_view(s)); |