| 72 | |
| 73 | template <typename octet_iterator> |
| 74 | octet_iterator append(uint32_t cp, octet_iterator result) |
| 75 | { |
| 76 | if (!utf8::internal::is_code_point_valid(cp)) |
| 77 | throw invalid_code_point(cp); |
| 78 | |
| 79 | return internal::append(cp, result); |
| 80 | } |
| 81 | |
| 82 | template <typename octet_iterator, typename output_iterator> |
| 83 | output_iterator replace_invalid(octet_iterator start, octet_iterator end, output_iterator out, uint32_t replacement) |
no test coverage detected