ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::bit_slice< Start, End > Struct Template Referenceexport

Compile-time bit slice descriptor (record domain). More...

Static Public Attributes

static constexpr usize end = End
static constexpr usize max_bit = (Start <= End) ? End : Start
static constexpr usize min_bit = (Start <= End) ? Start : End
static constexpr usize start = Start
static constexpr usize width = max_bit - min_bit + 1

Detailed Description

template<usize Start, usize End = Start>
struct lib::bit_slice< Start, End >

Compile-time bit slice descriptor (record domain).

Template Parameters
StartFirst bit boundary
EndSecond bit boundary

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