Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::Pack< W > Struct Template Referenceexport

A pattern, given by its count, in the bit word of width W, the padding above it zero: the switch of representation, from the counts to the word whose API has the rotations and masks. A section of unpack on the counts below \(2^W\). More...

Public Types

using Domain = std::size_t
using Codomain = BitWord<W>

Public Member Functions

constexpr Codomain operator() (std::size_t k) const

Detailed Description

template<std::size_t W>
requires (W > 0)
struct dedekind::category::Pack< W >

A pattern, given by its count, in the bit word of width W, the padding above it zero: the switch of representation, from the counts to the word whose API has the rotations and masks. A section of unpack on the counts below \(2^W\).

Template Parameters
Wthe width.

The documentation for this struct was generated from the following file: