Returns true iff `c` is a Unicode surrogate. */
| 139 | |
| 140 | /** Returns true iff `c` is a Unicode surrogate. */ |
| 141 | inline constexpr bool surrogate(char32_t c) |
| 142 | { |
| 143 | return high_surrogate_min <= c && c <= low_surrogate_max; |
| 144 | } |
| 145 | |
| 146 | /** Returns true iff `c` is a Unicode high surrogate. */ |
| 147 | inline constexpr bool high_surrogate(char32_t c) |
no outgoing calls
no test coverage detected