diff options
Diffstat (limited to 'modules/codec/c++/schema_meta.hpp')
-rw-r--r-- | modules/codec/c++/schema_meta.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/codec/c++/schema_meta.hpp b/modules/codec/c++/schema_meta.hpp index 659250c..ff66bbb 100644 --- a/modules/codec/c++/schema_meta.hpp +++ b/modules/codec/c++/schema_meta.hpp @@ -74,12 +74,14 @@ struct meta_schema<schema::String> { */ template<typename T, uint64_t Dim> struct meta_schema<schema::Array<T,Dim>> { + // TODO Technically this should be a FixedArray of the inner meta schema, except when the inner meta schema is Void using MetaSchema = schema::FixedArray<schema::UInt64,Dim>; using Schema = schema::Array<T,Dim>; }; template<typename T, uint64_t... Dim> struct meta_schema<schema::FixedArray<T,Dim...>> { + // TODO Technically this should be a FixedArray of the inner meta schema, except when the inner meta schema is Void using MetaSchema = schema::Void; using Schema = schema::FixedArray<T,Dim...>; }; |