mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 09:11:34 +02:00
Try just removing the 'Quantity' concept
This commit is contained in:
@ -68,7 +68,7 @@ struct point_origin_interface {
|
||||
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)
|
||||
{
|
||||
return po + std::forward<FwdQ>(q);
|
||||
|
Reference in New Issue
Block a user