* Tests if the given character is a whitespace character. The whitespace characters * are: space, form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal * tab ('\t'), and vertical tab ('\v'). * * This function is locale independent. Under the C locale this function gives the * same result as std::isspace. * * @param[in] c character to test * @return true if the a
| 150 | * @return true if the argument is a whitespace character; otherwise false |
| 151 | */ |
| 152 | constexpr inline bool IsSpace(char c) noexcept { |
| 153 | return c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v'; |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Convert string to integral type T. Leading whitespace, a leading +, or any |
no outgoing calls