diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-03 20:19:13 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-03 20:19:13 +0100 |
commit | 44d499bbe5d36f736b00ad360ce560b8f42f7d46 (patch) | |
tree | 7e0d8019a42e16cd09ab78fb91d13f3d6caa7545 /lib | |
parent | Handle Rows events with more than one row (diff) | |
download | mygrate-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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compileTimeFormatter.h | 2 |
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 & |