diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-03-03 14:01:10 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-03-03 14:01:10 +0100 |
commit | 7abcc7c96ce891128858089e34afc2e986b1ab19 (patch) | |
tree | f0b5e4b82e93feec54450e232e28588fb6e8f107 /c++/descriptor.h | |
parent | 1b553907f0d09671f7036a5cca1ff93021582d5c (diff) |
wip
Diffstat (limited to 'c++/descriptor.h')
-rw-r--r-- | c++/descriptor.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/c++/descriptor.h b/c++/descriptor.h index e1be1e9..0752a51 100644 --- a/c++/descriptor.h +++ b/c++/descriptor.h @@ -7,19 +7,19 @@ namespace lbm { namespace sch { using namespace saw::schema; -template<uint64_t D, uint64_t Q> +template<uint64_t DV, uint64_t QV> struct Descriptor { - static constexpr uint64_t D = D; - static constexpr uint64_t Q = Q; + static constexpr uint64_t D = DV; + static constexpr uint64_t Q = QV; }; -template<typename Sch, typename Desc, uint64_t SC, uint64_t DC, uint64_t QC> +template<typename Sch, typename Desc, uint64_t SC_V, uint64_t DC_V, uint64_t QC_V> struct Field { using Alias = Sch; using Descriptor = Desc; - static constexpr uint64_t SC = SC; - static constexpr uint64_t DC = DC; - static constexpr uint64_t QC = QC; + static constexpr uint64_t SC = SC_V; + static constexpr uint64_t DC = DC_V; + static constexpr uint64_t QC = QC_V; }; /** @@ -29,7 +29,6 @@ template<typename... CellT> using CellData = Struct< CellT... >; -^ /** * T is an array of CellData */ |