fmt
Loading...
Searching...
No Matches
fmt::BasicOstreamFormatter< Char > Struct Template Reference
module fmt
Inheritance diagram for fmt::BasicOstreamFormatter< Char >:
fmt::Formatter< BasicStringView< Char >, Char > fmt::Formatter< detail::StreamedView< T >, Char > fmt::Formatter< std::thread::id, Char >

Public Member Functions

auto setDebugFormat () -> void=delete
template<typename T, typename Context>
auto format (const T &value, Context &ctx) const -> decltype(ctx.out())

Detailed Description

template<typename Char>
struct fmt::BasicOstreamFormatter< Char >

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.


The documentation for this struct was generated from the following file:
  • /home/mccakit/desktop/mccakit-fmt/fmt/src/fmt/iface/ostream.cppm