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