MCPcopy Create free account
hub / github.com/cinder/Cinder / is_code_point_valid

Function is_code_point_valid

include/utf8cpp/core.h:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92 template <typename u32>
93 inline bool is_code_point_valid(u32 cp)
94 {
95 return (cp <= CODE_POINT_MAX && !utf8::internal::is_surrogate(cp));
96 }
97
98 template <typename octet_iterator>
99 inline typename std::iterator_traits<octet_iterator>::difference_type

Callers 2

validate_nextFunction · 0.85
appendFunction · 0.85

Calls 1

is_surrogateFunction · 0.70

Tested by

no test coverage detected