summaryrefslogtreecommitdiff
path: root/modules/codec/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++')
-rw-r--r--modules/codec/c++/data.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 536968f..3d14a18 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -141,6 +141,9 @@ public:
}
};
+/**
+ * Mixed precision class for native formats
+ */
template<typename TA, uint64_t NA, typename TB, uint64_t NB, typename Platform>
class data<schema::MixedPrecision<schema::Primitive<TA,NA>, schema::Primitive<TB,NB>>, encode::Native<Platform>>{
public:
@@ -161,6 +164,9 @@ public:
}
};
+/**
+ * Union type for native data classes
+ */
template<typename... T, string_literal... literals>
class data<schema::Union<schema::Member<T, literals>...>, encode::Native<rmt::Host>> {
private: