summaryrefslogtreecommitdiff
path: root/lib/collections.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-29 19:09:36 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-29 19:09:36 +0100
commit18a76c2a4a6247ef9d18de157f5dba391d8ff244 (patch)
treeeea4ebde80e33373e7652ecf601e6c5f46d007c0 /lib/collections.h
parentDrop .hpp for header only things (diff)
downloadilt-18a76c2a4a6247ef9d18de157f5dba391d8ff244.tar.bz2
ilt-18a76c2a4a6247ef9d18de157f5dba391d8ff244.tar.xz
ilt-18a76c2a4a6247ef9d18de157f5dba391d8ff244.zip
Reformat with new clang-format 16
Diffstat (limited to 'lib/collections.h')
-rw-r--r--lib/collections.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/collections.h b/lib/collections.h
index 8f5a43d..7d78ef9 100644
--- a/lib/collections.h
+++ b/lib/collections.h
@@ -8,13 +8,13 @@
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())>;