diff options
Diffstat (limited to 'modules/codec/c++/schema.hpp')
-rw-r--r-- | modules/codec/c++/schema.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index d3c4616..7df47b3 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -15,7 +15,16 @@ namespace schema { /** * Void Type used for function schemas */ -struct Void {}; +struct Void { + static constexpr string_literal name = "Void"; +}; + +/** + * Boolean type + */ +struct Bool { + static constexpr string_literal name = "Bool"; +}; template <typename Schema, string_literal Literal> struct Member { static constexpr string_literal name = "Member"; |