From 4bde4893c9ab3a0d09570946b67734751bc84408 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 4 Aug 2026 16:16:32 +0200 Subject: Pushing something --- modules/codec-unit/c++/unit_schema.hpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'modules/codec-unit/c++/unit_schema.hpp') diff --git a/modules/codec-unit/c++/unit_schema.hpp b/modules/codec-unit/c++/unit_schema.hpp index 5de8770..a675e23 100644 --- a/modules/codec-unit/c++/unit_schema.hpp +++ b/modules/codec-unit/c++/unit_schema.hpp @@ -4,11 +4,17 @@ namespace saw { namespace schema { -template -struct UnitElement {}; +template +struct UnitElement { + using Schema = Un; + static constexpr int64_t Exponent = Expo; + static constexpr int64_t Scaling = Scal; +}; template -struct Unit {}; +struct Unit { + using Schema = BaseSchema; +}; template using Pure = Unit; -- cgit v1.3.1