refactor: deduction guide to be unconstrained

This commit is contained in:
Johel Ernesto Guerrero Peña
2020-05-31 14:03:18 -04:00
committed by Mateusz Pusz
parent 9e001b4b48
commit 5f21106a02

View File

@@ -199,7 +199,7 @@ public:
#endif
};
template<Dimension D, UnitOf<D> U, Scalar Rep>
template<typename D, typename U, typename Rep>
quantity_point(quantity<D, U, Rep>) -> quantity_point<D, U, Rep>;
[[nodiscard]] constexpr QuantityPoint AUTO operator+(const QuantityPoint AUTO& lhs, const Quantity AUTO& rhs)