Assigns a new numerical value to *this.

Synopsis

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

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

Return Value

*this

Parameters

Name

Description

val

the numerical value to assign

Created with MrDocs