mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 03:44:27 +02:00
refactor: quantity_equivalent_to
renamed to weak_quantity_of
This commit is contained in:
@@ -120,7 +120,7 @@ concept quantity_of = Quantity<Q> && Dimension<std::remove_const_t<decltype(D)>>
|
|||||||
* the provided dimension type.
|
* the provided dimension type.
|
||||||
*/
|
*/
|
||||||
template<typename Q, Dimension auto D>
|
template<typename Q, Dimension auto D>
|
||||||
concept quantity_equivalent_to = Quantity<Q> && Dimension<std::remove_const_t<decltype(D)>> &&
|
concept weak_quantity_of = Quantity<Q> && Dimension<std::remove_const_t<decltype(D)>> &&
|
||||||
(interconvertible(Q::dimension, D));
|
(interconvertible(Q::dimension, D));
|
||||||
|
|
||||||
} // namespace units
|
} // namespace units
|
||||||
|
Reference in New Issue
Block a user