MCPcopy Create free account
hub / github.com/boostorg/parser / surrogate

Function surrogate

include/boost/parser/detail/text/transcode_iterator.hpp:141–144  ·  view source on GitHub ↗

Returns true iff `c` is a Unicode surrogate. */

Source from the content-addressed store, hash-verified

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)

Callers 4

transcode_to_8Function · 0.85
transcode_to_32Function · 0.85
scalar_valueFunction · 0.85
decode_code_pointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected