MCPcopy Create free account
hub / github.com/fmtlib/fmt / basic_printf_context

Function basic_printf_context

include/fmt/printf.h:36–38  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

34 /// Constructs a `printf_context` object. References to the arguments are
35 /// stored in the context object so make sure they have appropriate lifetimes.
36 basic_printf_context(basic_appender<Char> out,
37 basic_format_args<basic_printf_context> args)
38 : out_(out), args_(args) {}
39
40 auto out() -> basic_appender<Char> { return out_; }
41 void advance_to(basic_appender<Char>) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected