Return a mask with all bits above index set.
Declared in <bdlb_bitmaskutil.h>
static
uint64_t
gt64(int index);
Return the unsigned integral value having all bits at positions greater 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.
mask with all bits above index set
| Name | Description |
|---|---|
| index | bit position above which bits are set |