| 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) |
nothing calls this directly
no test coverage detected