|
fmt
|
Public Member Functions | |
| auto | setDebugFormat () -> void=delete |
| template<typename T, typename Context> | |
| auto | format (const T &value, Context &ctx) const -> decltype(ctx.out()) |
Formats a value through its operator<< overload.
Derive a Formatter specialization from this to reuse an existing stream insertion operator:
template <> struct fmt::Formatter<my_type> : fmt::OstreamFormatter
{};
The stream is imbued with the classic locale, so the result does not depend on the global locale.