mp_units::quantity::quantity

Construct from rep

Synopsis

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

constexpr
explicit(!mp_units::implicitly_convertible(quantity_spec, dimensionless))
quantity(rep val)
requires detail::ExplicitFromNumber<reference>;

Parameters

NameDescription
valThe object to construct from