Construct from Value
<mp-units/framework/quantity.h>template<typename Value>
requires detail::ExplicitFromNumber<reference> && (!detail::RepConvertibleFrom<rep, Value>)
constexpr
explicit(!std::convertible_to<Value, rep> || !mp_units::implicitly_convertible(quantity_spec, dimensionless))
quantity(Value val) = delete;
| Name | Description |
|---|---|
| val | The object to construct from |