Converting constructor from another quantity point that shares this one's absolute point origin.
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 source quantity point to convert from |
Created with MrDocs