template<class StorageT, class Tag = void>
nn::util::BitPack struct

Public types

template<int BitPos, int BitWidth, class T>
struct Field

Public functions

void SetBit(int p, bool on)
auto GetBit(int p) const -> bool
void Clear()
void SetMaskedBits(int, int)
auto GetMaskedBits(int) const -> int
void SetAllBitOn(int)
void SetAllBitOff(int)
auto IsAllBitOn(int) const -> bool
auto IsAllBitOff(int) const -> bool
auto IsAnyBitOn(int mask) const -> bool
auto IsAnyBitOff(int mask) const -> bool

Public variables

StorageT storage