Bits

struct Bits (
T = ulong
) if (
is(T == ubyte) ||
is(T == ushort)
||
is(T == uint)
||
is(T == ulong)
) {
enum COUNTBITS;
enum COUNTBITS;
enum COUNTBITS;
enum COUNTBITS;
enum VALUEBITS;
}

Constructors

this
this(ulong cnt, ulong val)

Members

Functions

opEquals
bool opEquals(X v)
opEquals
bool opEquals(auto ref const Bits!X v)
opIndex
bool opIndex(size_t i)

Meta