diff options
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 */ |