[#BloombergLP-bdlb-BitUtil-withBitCleared-068] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::withBitCleared :relfileprefix: ../../../ :mrdocs: Return `value` with the bit at `index` cleared. == Synopsis Declared in `<bdlb_bitutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned int withBitCleared( unsigned int value, int index); ---- == Description Return the result of replacing the bit at the specified `index` in the specified `value` with 0, transferring all other bits from `value` unchanged. The behavior is undefined unless `0 <= index < sizeInBits(value)`. == Return Value `value` with the bit at `index` cleared == Parameters [cols="1,4"] |=== | Name| Description | *value* | value to modify | *index* | bit position to clear |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#