[#BloombergLP-bdlb-BitUtil-withBitCleared-068]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::withBitCleared
:relfileprefix: ../../../
:mrdocs:

Return the result of replacing the bit at the specified `index` in the specified `value` with 0, transferring all other bits from `value` unchanged&period; The behavior is undefined unless `0 &lt;&equals; index &lt; sizeInBits(value)`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bitutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned int
withBitCleared(
    unsigned int value,
    int index);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
