arg overloads
Synopses
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);
A wchar_t counterpart of fmt::arg.
template<typename T>
named_arg<T, wchar_t>
arg(
wchar_t const* name,
T const& arg);
Return Value
A named argument wrapping arg under name.
Parameters
Name |
Description |
name |
The name of the argument. |
arg |
The argument value. |
Created with MrDocs