diff options
| -rw-r--r-- | modules/codec/c++/schema.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 8c398b7..decc027 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -65,10 +65,12 @@ struct Union<Member<V, K>...> { template <typename T, size_t Dim = 1> struct Array { static constexpr string_literal name = "Array"; + using ValueType = T; }; template<typename T, size_t... S> struct FixedArray { static constexpr string_literal name = "FixedArray"; + using ValueType = T; }; template <typename... T> struct Tuple { |
