summaryrefslogtreecommitdiff
path: root/modules/codec/c++/schema.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-06-19 11:59:04 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-06-19 11:59:04 +0200
commitc1d352270add2f205d038d7e4f69c1b4f35f014d (patch)
tree9378609edbd66ffba550eb2ce8dc87e5f10d715b /modules/codec/c++/schema.hpp
parent80b706332a48f54ae289093ee11b17f20ab2dc2e (diff)
Added operators to MixedPrecision native class
Diffstat (limited to 'modules/codec/c++/schema.hpp')
-rw-r--r--modules/codec/c++/schema.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp
index 5a2f440..2ef7c77 100644
--- a/modules/codec/c++/schema.hpp
+++ b/modules/codec/c++/schema.hpp
@@ -88,6 +88,9 @@ template <class T, size_t N> struct Primitive {
(std::is_same_v<T, FloatingPoint> && (N == 4 || N == 8)),
"Primitive Type is not supported");
static constexpr string_literal name = "Primitive";
+
+ using InterfaceSchema = Primitive<T,N>;
+ using StorageSchema = Primitive<T,N>;
};
using Int8 = Primitive<SignedInteger, 1>;