mp_units::quantity_point::quantity_point¶
Construct from QP
Synopsis¶
Declared in <mp-units/framework/quantity_point.h>
template<QuantityPointOf<absolute_point_origin> QP>
requires std::constructible_from<quantity_type, typename QP::quantity_type>
[[nodiscard]] constexpr explicit(!std::convertible_to<typename QP::quantity_type, quantity_type>)
quantity_point(QP const& qp);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| qp | The object to copy construct from |