summaryrefslogtreecommitdiff
path: root/modules/codec
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-05-06 10:07:31 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-05-06 10:07:31 +0200
commitd9ad6a70fa70025fdb2dbc0ee27a1f56ff3458e4 (patch)
treee27816d112e01f48cd7aa48423dc7c73e284f4a5 /modules/codec
parent1596ce823305f4573dbff9134a8a5ffb83601f71 (diff)
codec: Added comments
Diffstat (limited to 'modules/codec')
-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: