From 678462ba65db5b949fe388ec671673941195e1c8 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 16 Mar 2016 19:27:22 +1100 Subject: [PATCH] introspection: add type_string_v --- introspection.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/introspection.hpp b/introspection.hpp index 21677c4a..b9d66a36 100644 --- a/introspection.hpp +++ b/introspection.hpp @@ -51,6 +51,10 @@ namespace util { template <> struct type_string { static constexpr const char value[] = "string"; }; template <> struct type_string { static constexpr const char value[] = "string"; }; + template + constexpr + const char* type_string_v = type_string::value; + template auto to_string (void)