From 18a76c2a4a6247ef9d18de157f5dba391d8ff244 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Apr 2023 19:09:36 +0100 Subject: Reformat with new clang-format 16 --- lib/collections.h | 14 +++++++------- lib/stream_support.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib') 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 concept SequentialCollection = requires(T c) { - { - c.size() - } -> std::integral; - { - c.data() - } -> std::same_as; - }; + { + c.size() + } -> std::integral; + { + c.data() + } -> std::same_as; +}; template concept IterableCollection = std::is_same_v().begin()), decltype(std::declval().end())>; diff --git a/lib/stream_support.h b/lib/stream_support.h index 7fb256c..fa536f1 100644 --- a/lib/stream_support.h +++ b/lib/stream_support.h @@ -11,8 +11,8 @@ template concept stringlike = requires(const S & s) { s.substr(0); }; template -concept spanable = std::is_constructible_v, T> && ! -stringlike && !std::is_same_v, T>; +concept spanable = std::is_constructible_v, T> && !stringlike + && !std::is_same_v, T>; namespace std { template -- cgit v1.2.3