[#BloombergLP-bdlb-BitMaskUtil-gt] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitMaskUtil.adoc[BitMaskUtil]::gt :relfileprefix: ../../../ :mrdocs: Return a mask with all bits above `index` set. == Synopsis Declared in `<bdlb_bitmaskutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static uint32_t gt(int index); ---- == Description 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`. == Return Value mask with all bits above `index` set == Parameters [cols="1,4"] |=== | Name| Description | *index* | bit position above which bits are set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#