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,
detail::delta_from_origin_t<point_origin, QP>>
[[nodiscard]] constexpr explicit(
!std::convertible_to<
typename detail::delta_from_origin_type<point_origin, QP>::own_spec_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 |