mp_units::quantity::quantity

Constructor

Synopsis

Declared in <mp-units/framework/quantity.h>
template<
    typename FwdValue,
    Reference R2>
requires (equivalent(unit, get_unit(R2{}))) && detail::ValuePreservingConstruction<rep, FwdValue>
constexpr
quantity(
    FwdValue&& val,
    R2);


Parameters

Name Description
val The object to move construct from

Created with MrDocs