Rebinds this reference to the argument at idx.

Synopsis

Declared in <mp‐units/utility/format.h>

[[nodiscard]]
constexpr
fmt_arg_ref&
operator=(int idx);

Return Value

a reference to *this, after the assignment

Note

The return value should not be discarded.

Parameters

Name

Description

idx

the index of the argument to reference

Created with MrDocs