mp_units::quantity::operator=

Assignment operator

Synopsis

Declared in <mp-units/framework/quantity.h>
template<typename FwdValue>
requires detail::DimensionlessOne<reference> && detail::ValuePreservingAssignment<rep, FwdValue>
constexpr
quantity&
operator=(FwdValue&& val);


Return Value

Reference to the current object

Parameters

Name Description
val The object to move assign from

Created with MrDocs