From a97669c0e67b4068d8491a8993a12aacb717768e Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 3 Jul 2023 14:22:20 +0200 Subject: c++: Building basic blocks for a setup --- c++/descriptor.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 c++/descriptor.h (limited to 'c++/descriptor.h') diff --git a/c++/descriptor.h b/c++/descriptor.h new file mode 100644 index 0000000..f0f7f28 --- /dev/null +++ b/c++/descriptor.h @@ -0,0 +1,31 @@ +#pragma once + +#include + +namespace kel { +namespace lbm { +namespace schema { +using namespace saw::schema; + +template +struct Descriptor {}; + +template +using CellType = FixedArray; + +/** + * T... is restricted to Member schemas + */ +template +using CellData = Struct< + CellT... +>; + +/** + * T is an array of CellData + */ +template +using Lattice = Array; +} +} +} -- cgit v1.2.3