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:
<fmt/base.h>
template<typename Context>
class basic_format_args;
| Name |
|---|
format_arg |
| Name | Description |
|---|---|
basic_format_args [constructor] | Constructors |
get | Returns the argument with the specified id. |
get_id | |
max_size |
| Name |
|---|
args_ [variant member] |
values_ [variant member] |
void vlog(fmt::string_view fmt, fmt::format_args args); // OK fmt::format_args args = fmt::make_format_args(); // Dangling reference