Fix bool and string templates/rendering
Fix a number of bugs related to rendering and instantiation of
string and bool templates.
Change-Id: Ic75842b4016f4d96bf5850f9c4ad778d82e075ed
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/format.hpp b/src/format.hpp
index 9c8341c..f0b0c8e 100644
--- a/src/format.hpp
+++ b/src/format.hpp
@@ -16,6 +16,10 @@
{
};
+template <> struct GetFormatType<bool>
+{
+ static constexpr auto format = "%d";
+};
template <> struct GetFormatType<char>
{
static constexpr auto format = "=%hhd";