summaryrefslogtreecommitdiff
path: root/modules/codec
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec')
-rw-r--r--modules/codec/c++/schema.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp
index 1feb951..5348cfe 100644
--- a/modules/codec/c++/schema.hpp
+++ b/modules/codec/c++/schema.hpp
@@ -8,6 +8,9 @@ namespace schema {
// NOLINTBEGIN
template <typename T, string_literal Literal> struct Member {
static constexpr string_literal name = "Member";
+
+ using ValueType = T;
+ static constexpr string_literal KeyLiteral = Literal;
};
template <typename... T> struct Struct {