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

`withBitCleared` overloads

== Synopses

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

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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned int
xref:BloombergLP/bdlb/BitUtil/withBitCleared-068.adoc[withBitCleared](
    unsigned int value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/withBitCleared-068.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned long
xref:BloombergLP/bdlb/BitUtil/withBitCleared-065.adoc[withBitCleared](
    unsigned long value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/withBitCleared-065.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned long long
xref:BloombergLP/bdlb/BitUtil/withBitCleared-05.adoc[withBitCleared](
    unsigned long long value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/withBitCleared-05.adoc[_» more&period;&period;&period;_]#


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