summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-03 20:19:13 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-03 20:19:13 +0100
commit44d499bbe5d36f736b00ad360ce560b8f42f7d46 (patch)
tree7e0d8019a42e16cd09ab78fb91d13f3d6caa7545
parentHandle Rows events with more than one row (diff)
downloadmygrate-44d499bbe5d36f736b00ad360ce560b8f42f7d46.tar.bz2
mygrate-44d499bbe5d36f736b00ad360ce560b8f42f7d46.tar.xz
mygrate-44d499bbe5d36f736b00ad360ce560b8f42f7d46.zip
Be more picky about what is Writable
Previously picked up integer left shift operator as output operator.
-rw-r--r--lib/compileTimeFormatter.h2
1 files changed, 2 insertions, 0 deletions
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<const Support::basic_fixed_string Str, Writable stream, typename... Pn>
inline auto &