From f8c6ec7a18b33deba530b15a5779556233e8057b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 8 Mar 2024 21:54:31 +0100 Subject: codec,tools: Working on better c iface generation --- modules/codec/c++/schema.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/codec/c++') 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 struct Member { static constexpr string_literal name = "Member"; + + using ValueType = T; + static constexpr string_literal KeyLiteral = Literal; }; template struct Struct { -- cgit v1.2.3