From 44d499bbe5d36f736b00ad360ce560b8f42f7d46 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 3 Aug 2021 20:19:13 +0100 Subject: Be more picky about what is Writable Previously picked up integer left shift operator as output operator. --- lib/compileTimeFormatter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/compileTimeFormatter.h b/lib/compileTimeFormatter.h index 3779454..e45a3d9 100644 --- a/lib/compileTimeFormatter.h +++ b/lib/compileTimeFormatter.h @@ -255,6 +255,8 @@ namespace MyGrate { concept Writable = requires(T s) { {s << 0}; + {s << ""}; + {s.write("", 0U)}; }; template inline auto & -- cgit v1.2.3