arg overloads
Declared in <fmt/base.h>
Returns a named argument to be used in a formatting function. It should only be used in a call to a formatting function.
template<typename T>
named_arg<T>
arg(
char const* name,
T const& arg);
» more...
A wchar_t counterpart of fmt::arg.
template<typename T>
named_arg<T, wchar_t>
arg(
wchar_t const* name,
T const& arg);
» more...
A named argument wrapping arg under name.
| Name | Description |
|---|---|
| name | The name of the argument. |
| arg | The argument value. |