14struct formatter<E,
std::enable_if_t<std::is_enum_v<E>, char>>
16 template <
typename ParseContext>
17 constexpr auto parse(ParseContext& ctx)
22 template <
typename FormatContext>
23 auto format(
const E& value, FormatContext& ctx)
const
25 return fmt::format_to(
26 ctx.out(),
"{}",
static_cast<std::underlying_type_t<E>
>(value));
Definition app_interface.h:14