arg overloads

Synopses

Declared in <fmt/base.h>

Returns the argument with the specified id.

constexpr
format_arg
arg(int id) const;

Returns the named argument with the specified name.

format_arg
arg(string_view name) const;

Return Value

  • The argument with id id.

  • The argument named name.

Parameters

Name

Description

id

The id of the argument to return.

name

The name of the argument to return.

Created with MrDocs