From 5b11a9374a0f7e6fb667d63519c2714a934398b0 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 19 Jan 2026 18:40:40 +0100 Subject: Chunk tmpl deduction --- lib/core/c++/chunk.hpp | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'lib/core') diff --git a/lib/core/c++/chunk.hpp b/lib/core/c++/chunk.hpp index 38b567b..223ceec 100644 --- a/lib/core/c++/chunk.hpp +++ b/lib/core/c++/chunk.hpp @@ -6,23 +6,29 @@ namespace kel { namespace lbm { namespace sch { namespace impl { -template +template struct chunk_schema_type_helper { - using Schema = typename chunk_schema_type_helper::Schema; + using Schema = typename chunk_schema_type_helper::Schema; }; -template -struct chunk_schema_type_helper { +template +struct chunk_schema_type_helper, saw::tmpl_group> final { + using Schema = FixedArray; +}; + +template +struct chunk_schema_type_helper, saw::tmpl_group> final { using Schema = FixedArray; }; } -template +template struct Chunk { - using InnerSchema = typename impl::chunk_schema_type_helper::Schema; + using InnerSchema = typename impl::chunk_schema_type_helper::Schema; }; +// Not needed for now template using SuperChunk = Array; } @@ -35,7 +41,7 @@ class data,Encode> final { public: using Schema = kel::lbm::sch::Chunk; private: - data + data values_; public: }; } -- cgit v1.2.3