Euphoria
|
pch.public.h File Reference
#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
Go to the source code of this file.
Macros | |
#define | ADD_DEFAULT_FORMATTER(TYPE, STRING, TO_STRING) |
Macro Definition Documentation
◆ ADD_DEFAULT_FORMATTER
#define ADD_DEFAULT_FORMATTER | ( | TYPE, | |
STRING, | |||
TO_STRING | |||
) |
Value:
template <> struct fmt::formatter<TYPE>: fmt::formatter<STRING> \
{ \
template <typename FormatContext> \
auto format(const TYPE& c, FormatContext& ctx) const \
{ \
return fmt::formatter<STRING>::format(TO_STRING(c), ctx); \
} \
}
Definition at line 12 of file pch.public.h.