diff options
Diffstat (limited to 'lib/collections.h')
-rw-r--r-- | lib/collections.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/collections.h b/lib/collections.h index 5711fc3..ea5d5dc 100644 --- a/lib/collections.h +++ b/lib/collections.h @@ -10,12 +10,8 @@ template<typename T, typename E> concept SequentialCollection = requires(T c) { - { - c.size() - } -> std::integral; - { - c.data() - } -> std::same_as<const E *>; + { c.size() } -> std::integral; + { c.data() } -> std::same_as<const E *>; }; template<typename T> concept IterableCollection = std::is_same_v<decltype(std::declval<T>().begin()), decltype(std::declval<T>().end())>; |