diff --git a/src/core/include/mp-units/quantity_point.h b/src/core/include/mp-units/quantity_point.h index 7c91f93b..76b92143 100644 --- a/src/core/include/mp-units/quantity_point.h +++ b/src/core/include/mp-units/quantity_point.h @@ -112,6 +112,14 @@ public: { } + template + requires std::constructible_from> + constexpr explicit(!std::convertible_to, quantity_type>) + quantity_point(const quantity_point& qp) : + q_(qp.relative()) + { + } + template QP> requires std::constructible_from constexpr explicit(!std::convertible_to) quantity_point(const QP& qp) :