summaryrefslogtreecommitdiff
path: root/modules/codec/c++/schema.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-06 19:42:05 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-06 19:42:05 +0200
commit02e0554147004c6498d00cc88a1fa43e38e4ba3d (patch)
tree3bec12696a766ecc15f996e908442108e0be46be /modules/codec/c++/schema.hpp
parent95778fe686ddd3e6e29915cb50e4b07876a39904 (diff)
wip
Diffstat (limited to 'modules/codec/c++/schema.hpp')
-rw-r--r--modules/codec/c++/schema.hpp4
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