summaryrefslogtreecommitdiff
path: root/src/codec/schema.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/schema.h')
-rw-r--r--src/codec/schema.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/codec/schema.h b/src/codec/schema.h
index 5021d33..df9f443 100644
--- a/src/codec/schema.h
+++ b/src/codec/schema.h
@@ -28,6 +28,14 @@ struct Union<Member<V, K>...> {};
template <typename T> struct Array {};
+template <class T> struct is_array {
+ constexpr static bool value = false;
+};
+
+template <class T> struct is_array<schema::Array<T>> {
+ constexpr static bool value = true;
+};
+
template<typename T, size_t S> struct FixedArray {};
template <typename... T> struct Tuple {};