MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / append16

Function append16

external/utf8/checked.h:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87 template <typename word_iterator>
88 word_iterator append16(utfchar32_t cp, word_iterator result)
89 {
90 if (!utf8::internal::is_code_point_valid(cp))
91 throw invalid_code_point(cp);
92
93 return internal::append16(cp, result);
94 }
95
96 template <typename octet_iterator, typename output_iterator>
97 output_iterator replace_invalid(octet_iterator start, octet_iterator end, output_iterator out, utfchar32_t replacement)

Callers

nothing calls this directly

Calls 2

is_code_point_validFunction · 0.85
invalid_code_pointClass · 0.85

Tested by

no test coverage detected