diff --git a/src/core/include/mp-units/bits/quantity_point_concepts.h b/src/core/include/mp-units/bits/quantity_point_concepts.h index 3f89b510..5aa1257d 100644 --- a/src/core/include/mp-units/bits/quantity_point_concepts.h +++ b/src/core/include/mp-units/bits/quantity_point_concepts.h @@ -110,6 +110,10 @@ template auto PO, RepresentationOf Rep> class quantity_point; +template + requires ReferenceOf, PO.quantity_spec> +[[nodiscard]] constexpr quantity_point make_quantity_point(Q&& q); + namespace detail { template diff --git a/src/core/include/mp-units/quantity_point.h b/src/core/include/mp-units/quantity_point.h index 810e2b28..23dfaebc 100644 --- a/src/core/include/mp-units/quantity_point.h +++ b/src/core/include/mp-units/quantity_point.h @@ -29,10 +29,6 @@ namespace mp_units { -template - requires ReferenceOf, PO.quantity_spec> -[[nodiscard]] constexpr quantity_point make_quantity_point(Q&& q); - template struct absolute_point_origin { static constexpr QuantitySpec auto quantity_spec = QS;