diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-20 12:59:35 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-20 12:59:35 +0100 |
| commit | 9aef849bc182accbb029ede50cf6133ae9910030 (patch) | |
| tree | 2ae7e83d031883ab94a03a1efb327bf9f76d406a | |
| parent | 74a74282bc4058a8fadd995a58ad8eaa4070ec2a (diff) | |
| download | forstio-forstio-9aef849bc182accbb029ede50cf6133ae9910030.tar.gz | |
Added type info to Schema
| -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 { |
