BloombergLP::bdlb::BitMaskUtil::eq

Return the unsigned integral value having the bit at the specified index position 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
uint32_t
eq(int index);