template <typename Context>
class basic_format_args
Defined at line 2575 of file ../../third_party/fmtlib/src/include/fmt/base.h
A view of a collection of formatting arguments. To avoid lifetime issues it
should only be used as a parameter type in type-erased functions such as
`vformat`:
void vlog(fmt::string_view fmt, fmt::format_args args); // OK
fmt::format_args args = fmt::make_format_args(); // Dangling reference
Public Methods
void basic_format_args<Context> ()
Defined at line 2612 of file ../../third_party/fmtlib/src/include/fmt/base.h
template <int NUM_ARGS, int NUM_NAMED_ARGS, unsigned long long DESC, FMT_ENABLE_IF(NUM_ARGS <= detail::max_packed_args)>
void basic_format_args<Context> (const store<NUM_ARGS, NUM_NAMED_ARGS, DESC> & s)
Constructs a `basic_format_args` object from `format_arg_store`.
Defined at line 2617 of file ../../third_party/fmtlib/src/include/fmt/base.h
template <int NUM_ARGS, int NUM_NAMED_ARGS, unsigned long long DESC, FMT_ENABLE_IF(NUM_ARGS > detail::max_packed_args)>
void basic_format_args<Context> (const store<NUM_ARGS, NUM_NAMED_ARGS, DESC> & s)
Defined at line 2624 of file ../../third_party/fmtlib/src/include/fmt/base.h
void basic_format_args<Context> (const format_arg * args, int count, bool has_named)
Constructs a `basic_format_args` object from a dynamic list of arguments.
Defined at line 2629 of file ../../third_party/fmtlib/src/include/fmt/base.h
format_arg get (int id)
Returns the argument with the specified id.
Defined at line 2636 of file ../../third_party/fmtlib/src/include/fmt/base.h
template <typename Char>
format_arg get (basic_string_view<Char> name)
Defined at line 2649 of file ../../third_party/fmtlib/src/include/fmt/base.h
template <typename Char>
int get_id (basic_string_view<Char> name)
Defined at line 2655 of file ../../third_party/fmtlib/src/include/fmt/base.h
int max_size ()
Defined at line 2665 of file ../../third_party/fmtlib/src/include/fmt/base.h