From 60e44cb3c8933e26d535414c49b9991cbca39154 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 27 May 2023 20:19:15 +0200 Subject: c++: Added support for literal handling --- src/codec/schema.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/codec/schema.h') 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...> {}; template struct Array {}; +template struct is_array { + constexpr static bool value = false; +}; + +template struct is_array> { + constexpr static bool value = true; +}; + template struct FixedArray {}; template struct Tuple {}; -- cgit v1.2.3