Skip to content

Commit

Permalink
refactor: WeaklyRegular removed from ScalableWith
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Dec 4, 2024
1 parent 054e286 commit 4f75a48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 4f75a48

Please sign in to comment.