Go to the documentation of this file.
4 #include <fmt/format.h>
5 #include <fmt/ranges.h>
12 #define ADD_DEFAULT_FORMATTER(TYPE, STRING, TO_STRING) \
13 template <> struct fmt::formatter<TYPE>: fmt::formatter<STRING> \
15 template <typename FormatContext> \
16 auto format(const TYPE& c, FormatContext& ctx) const \
18 return fmt::formatter<STRING>::format(TO_STRING(c), ctx); \