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

Name Description
val The object to construct from