mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
refactor: WeaklyRegular
removed from ScalableWith
This commit is contained in:
@ -75,7 +75,7 @@ template<typename T>
|
||||
concept WeaklyRegular = std::copyable<T> && std::equality_comparable<T>;
|
||||
|
||||
template<typename T, typename S>
|
||||
concept ScalableWith = WeaklyRegular<T> && requires(const T v, const S s) {
|
||||
concept ScalableWith = requires(const T v, const S s) {
|
||||
{ v* s / s } -> std::common_with<T>;
|
||||
{ s* v / s } -> std::common_with<T>;
|
||||
{ v / s* s } -> std::common_with<T>;
|
||||
|
Reference in New Issue
Block a user