MCPcopy Create free account
hub / github.com/Icinga/icinga2 / is_code_point_valid

Function is_code_point_valid

third-party/utf8cpp/source/utf8/core.h:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109 template <typename u32>
110 inline bool is_code_point_valid(u32 cp)
111 {
112 return (cp <= CODE_POINT_MAX && !utf8::internal::is_surrogate(cp));
113 }
114
115 template <typename octet_iterator>
116 inline typename std::iterator_traits<octet_iterator>::difference_type

Callers 2

validate_nextFunction · 0.85
appendFunction · 0.85

Calls 1

is_surrogateFunction · 0.85

Tested by

no test coverage detected