summaryrefslogtreecommitdiff
path: root/modules/codec-unit/c++/unit_schema.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec-unit/c++/unit_schema.hpp')
-rw-r--r--modules/codec-unit/c++/unit_schema.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/codec-unit/c++/unit_schema.hpp b/modules/codec-unit/c++/unit_schema.hpp
new file mode 100644
index 0000000..9ad173f
--- /dev/null
+++ b/modules/codec-unit/c++/unit_schema.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <forstio/codec/schema.hpp>
+
+namespace saw {
+namespace schema {
+template<typename Unit, int64_t Exponent>
+struct UnitElement {};
+
+template<typename BaseSchema, typename ... Components>
+struct Unit {};
+
+template<typename BaseSchema>
+using Scalar = Unit<BaseSchema>;
+}
+}