Returns true iff `c` is a valid Unicode scalar value. \see Unicode 3.9/D90 */
| 170 | |
| 171 | \see Unicode 3.9/D90 */ |
| 172 | inline constexpr bool scalar_value(char32_t c) |
| 173 | { |
| 174 | return c <= 0x10ffff && !surrogate(c); |
| 175 | } |
| 176 | |
| 177 | /** Returns true iff `c` is a Unicode scalar value not in the reserved |
| 178 | range. |
no test coverage detected