fmt
Loading...
Searching...
No Matches
fmt::Context Class Referenceexport
module fmt

Public Types

using char_type = char
using iterator = Appender
using FormatArg = BasicFormatArg<Context>

Public Member Functions

constexpr Context (iterator out, FormatArgs args, LocaleRef loc={})
 Context (Context &&)=default
 Context (const Context &)=delete
auto operator= (const Context &) -> void=delete
constexpr auto arg (int id) const -> FormatArg
auto arg (StringView name) const -> FormatArg
constexpr auto argId (StringView name) const -> int
auto args () const -> const FormatArgs &
constexpr auto out () const -> iterator
constexpr auto advanceTo (iterator) -> void
constexpr auto locale () const -> LocaleRef

Static Public Attributes

static constexpr int kBuiltinTypes = FMT_BUILTIN_TYPES

Member Typedef Documentation

◆ char_type

The character type for the output.

Constructor & Destructor Documentation

◆ Context()

fmt::Context::Context ( iterator out,
FormatArgs args,
LocaleRef loc = {} )
inlineconstexpr

Constructs a context object. References to the arguments are stored in the object so make sure they have appropriate lifetimes.


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