| 1801 | |
| 1802 | template <size_t width, typename Char, typename OutputIt> |
| 1803 | auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt { |
| 1804 | *out++ = static_cast<Char>('\\'); |
| 1805 | *out++ = static_cast<Char>(prefix); |
| 1806 | Char buf[width]; |
| 1807 | fill_n(buf, width, static_cast<Char>('0')); |
| 1808 | format_base2e(4, buf, cp, width); |
| 1809 | return copy<Char>(buf, buf + width, out); |
| 1810 | } |
| 1811 | |
| 1812 | template <typename OutputIt, typename Char> |
| 1813 | auto write_escaped_cp(OutputIt out, const find_escape_result<Char>& escape) |
nothing calls this directly
no test coverage detected