From 9383579d43f834519d5061527f749acf8dca59c6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 16 Jul 2026 15:10:27 +0200 Subject: Prepping for abstract data in lbm --- modules/core/c++/abstract/data.hpp | 53 +++++++------------------------------- 1 file changed, 10 insertions(+), 43 deletions(-) (limited to 'modules/core/c++/abstract/data.hpp') diff --git a/modules/core/c++/abstract/data.hpp b/modules/core/c++/abstract/data.hpp index ed23268..f1ae5a7 100644 --- a/modules/core/c++/abstract/data.hpp +++ b/modules/core/c++/abstract/data.hpp @@ -1,52 +1,19 @@ #pragma once -#include "templates.hpp" +#include "schema.hpp" +#include "encode.hpp" namespace kel { -namespace sch { -struct Void {}; - -struct UnsignedInteger {}; -struct SignedInteger {}; -struct FloatingPoint {}; - -template -struct MixedPrecision { - using Meta = Void; - using StorageType = StorageT; - using InterfaceType = InterfaceT; -}; - -template -struct Primitive { - using Meta = Void; - using Type = PrimType; - static constexpr uint64_t Bytes = N; -}; - -template -struct FixedArray { - using Meta = Void; - using Inner = T; - static constexpr std::array Dimensions{Dims...}; +namespace lbm { +template +class data final {}; + +template +class data,Encode> final { +private: +public: }; -template -struct Array { - using Meta = FixedArray; - using Inner = T; - static constexpr std::array Dimensions{Dims}; -}; - -template -struct Tuple { -}; } - -template -struct schema { - using Type = Sch; -}; - } -- cgit v1.2.3