forked from mpusz/mp-units
Merge branch 'master' of github.com:mpusz/units
This commit is contained in:
@@ -68,7 +68,7 @@ struct point_origin_interface {
|
|||||||
return quantity_point{std::forward<FwdQ>(q), po};
|
return quantity_point{std::forward<FwdQ>(q), po};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<Quantity FwdQ, PointOrigin PO, QuantityOf<PO::_quantity_spec_> Q = std::remove_cvref_t<FwdQ>>
|
template<typename FwdQ, PointOrigin PO, QuantityOf<PO::_quantity_spec_> Q = std::remove_cvref_t<FwdQ>>
|
||||||
[[nodiscard]] friend constexpr QuantityPoint auto operator+(FwdQ&& q, PO po)
|
[[nodiscard]] friend constexpr QuantityPoint auto operator+(FwdQ&& q, PO po)
|
||||||
{
|
{
|
||||||
return po + std::forward<FwdQ>(q);
|
return po + std::forward<FwdQ>(q);
|
||||||
|
Reference in New Issue
Block a user