| 184 | } |
| 185 | |
| 186 | [[nodiscard]] static char* write (char* dest, char c) { *dest = c; return dest + 1; } |
| 187 | template <typename... Chars> static char* write (char* dest, char first, Chars... others) { return write (write (dest, first), others...); } |
| 188 | [[nodiscard]] static char* writeDigit (char* dest, int digit) { return write (dest, static_cast<char> (digit + '0')); } |
| 189 | template <typename... Chars> static char* writeDigit (char* dest, int d, Chars... others) { return writeDigit (writeDigit (dest, d), others...); } |
no outgoing calls
no test coverage detected