mp_units::utility::fmt_arg_ref

A reference to a format argument, by index or (when using fmtlib) by name.

Synopsis

Declared in <mp-units/utility/format.h>

template<typename Char>
struct fmt_arg_ref;

Types

NameDescription
value Stores either the referenced argument's index or (when using fmtlib) its name.

Member Functions

NameDescription
fmt_arg_ref [constructor]Constructors
operator= Rebinds this reference to the argument at idx.

Data Members

NameDescription
kind Which alternative of value is active.
val The referenced argument's index or (when using fmtlib) name, per kind.