Assignment operators

Synopses

Declared in <mp‐units/framework/quantity.h>

Copy assignment operator

quantity&
operator=(quantity const& other) = default;

Move assignment operator

quantity&
operator=(quantity&& other) = default;

Assignment operator

template<typename FwdValue>
requires detail::DimensionlessOne<reference> && detail::ValuePreservingAssignment<rep, FwdValue>
constexpr
quantity&
operator=(FwdValue&& val);

Created with MrDocs