mp_units::utility::fmt_arg_ref::operator=

Assignment operator

Synopsis

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

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

Return Value

Reference to the current object

NOTE

The return value should not be discarded.

Parameters

NameDescription
idxThe value to assign from