9namespace circus::utils {
18template <
unsigned... digits>
27template <
unsigned... digits>
36template <
unsigned rem,
unsigned... digits>
45template <
unsigned... digits>
57template <
unsigned num>
68 return std::string_view(a) == b;
Compile-time recursion to split an unsigned integer into digits.
Definition to_chars.hpp:37
Helper template that stores a compile-time char array of digits.
Definition to_chars.hpp:19
static const char value[]
Null-terminated character array representing the number.
Definition to_chars.hpp:21
Converts a compile-time unsigned integer to a string literal.
Definition to_chars.hpp:58
constexpr bool strings_equal(char const *a, char const *b)
Compile-time string equality check.
Definition to_chars.hpp:67
constexpr char to_chars< digits... >::value[]
Definition of the static char array containing digits plus terminating null.
Definition to_chars.hpp:28