BloombergLP::bdlb::BitMaskUtil::ne64

Return a bitmask with the bit at index cleared.

Synopsis

Declared in <bdlb_bitmaskutil.h>

static
uint64_t
ne64(int index);

Description

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

Return Value

bitmask with the bit at index cleared

Parameters

NameDescription
indexbit position to clear