From 8dfe3d339dc1542ee7bd59c000302765648e972c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 29 Aug 2022 12:54:18 +0100 Subject: Generic solution for streaming collections that can be spanned --- lib/stream_support.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/stream_support.cpp (limited to 'lib/stream_support.cpp') diff --git a/lib/stream_support.cpp b/lib/stream_support.cpp new file mode 100644 index 0000000..2054873 --- /dev/null +++ b/lib/stream_support.cpp @@ -0,0 +1,11 @@ +#include "stream_support.hpp" + +#include +#include + +static_assert(spanable>); +// static_assert(spanable>); +static_assert(spanable>); +// static_assert(spanable>); +static_assert(!spanable); +static_assert(!spanable); -- cgit v1.2.3