mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
fix: quantity_point::point_for(PO)
constraints fixed
This commit is contained in:
@ -183,7 +183,7 @@ public:
|
|||||||
quantity_point& operator=(const quantity_point&) = default;
|
quantity_point& operator=(const quantity_point&) = default;
|
||||||
quantity_point& operator=(quantity_point&&) = default;
|
quantity_point& operator=(quantity_point&&) = default;
|
||||||
|
|
||||||
template<PointOriginFor<quantity_spec> NewPO>
|
template<detail::SameAbsolutePointOriginAs<absolute_point_origin> NewPO>
|
||||||
[[nodiscard]] constexpr MP_UNITS_CONSTRAINED_AUTO_WORKAROUND(QuantityPointOf<NewPO{}>) auto point_for(
|
[[nodiscard]] constexpr MP_UNITS_CONSTRAINED_AUTO_WORKAROUND(QuantityPointOf<NewPO{}>) auto point_for(
|
||||||
NewPO new_origin) const
|
NewPO new_origin) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user