BloombergLP::bdlb::BitMaskUtil::lt

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.

Synopsis

Declared in <bdlb_bitmaskutil.h>

static
uint32_t
lt(int index);

Return Value

mask with all bits below index set

Parameters

NameDescription
indexbit position below which bits are set