mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +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.
|
||||
*/
|
||||
template<typename Q, Dimension auto D>
|
||||
concept quantity_equivalent_to = Quantity<Q> && Dimension<std::remove_const_t<decltype(D)>> &&
|
||||
(interconvertible(Q::dimension, D));
|
||||
concept weak_quantity_of = Quantity<Q> && Dimension<std::remove_const_t<decltype(D)>> &&
|
||||
(interconvertible(Q::dimension, D));
|
||||
|
||||
} // namespace units
|
||||
|
Reference in New Issue
Block a user