| 1778 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, ) |
| 1779 | |
| 1780 | template <size_t width, typename Char, typename OutputIt> auto write_codepoint(OutputIt out, char prefix, uint32_t cp) |
| 1781 | -> OutputIt { |
| 1782 | *out++ = static_cast<Char>('\\'); |
| 1783 | *out++ = static_cast<Char>(prefix); |
| 1784 | Char buf[width]; |
| 1785 | fill_n(buf, width, static_cast<Char>('0')); |
| 1786 | format_uint<4>(buf, cp, width); |
| 1787 | return copy_str<Char>(buf, buf + width, out); |
| 1788 | } |
| 1789 | |
| 1790 | template <typename OutputIt, typename Char> auto write_escaped_cp(OutputIt out, const find_escape_result<Char>& escape) |
| 1791 | -> OutputIt { |