diff options
Diffstat (limited to 'modules/codec/c++/schema.hpp')
-rw-r--r-- | modules/codec/c++/schema.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 3820cf3..40dfe39 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -318,4 +318,8 @@ template <class T, size_t Dim> struct is_array<schema::Array<T,Dim>> { template <typename T, size_t N> struct is_primitive<schema::Primitive<T,N>> { constexpr static bool value = true; }; + +template <typename TI, typename TS> struct is_primitive<schema::MixedPrecision<TI,TS>> { + constexpr static bool value = true; +}; } // namespace saw |