Converts e to its underlying type so that enum types are formattable by default via argument-dependent lookup.
Declared in <fmt/format.h>
template<typename Enum>
constexpr
underlying_t<Enum>
format_as(Enum e) noexcept;
e cast to its underlying type.
| Name | Description |
|---|---|
| e | The enum value to convert. |