nxt.bit_traits

Undocumented in source.

Members

Templates

bitsNeeded
template bitsNeeded(size_t length)

Get number of bits needed to represent the range (0 .. length-1).

isAllOneBits
template isAllOneBits(T, T value)
Undocumented in source.
isAllZeroBits
template isAllZeroBits(T, T value)
Undocumented in source.
isInitAllOneBits
template isInitAllOneBits(T)
Undocumented in source.
isInitAllZeroBits
template isInitAllZeroBits(T)
Undocumented in source.
packedBitSizeOf
template packedBitSizeOf(T)

Number of bits required to store a packed instance of T.

Meta