fmt::basic_printf_context::arg

Returns the argument with the specified id.

Synopsis

Declared in <fmt/printf.h>

basic_format_arg<basic_printf_context>
arg(int id) const;

Return Value

The argument with the specified id.

Parameters

NameDescription
idThe zero-based index of the argument.