mp_units::utility::fmt_arg_ref::operator=

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

NameDescription
idxthe index of the argument to reference