BloombergLP::bdlb::BitMaskUtil::lt64

Return the unsigned integral value having all bits at positions less than the specified index set to 1, and all other bits set to 0. The behavior is undefined unless 0 <= index <= # of bits in result.

Synopsis

Declared in <bdlb_bitmaskutil.h>

static
uint64_t
lt64(int index);