[#BloombergLP-bdlc-BitArray-andEqual-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::andEqual
:relfileprefix: ../../../
:mrdocs:

AND the bit at the specified `index` in this array with the specified `value` (retaining the result)&period; The behavior is undefined unless `index &lt; length()`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
andEqual(
    std::size&lowbar;t index,
    bool value);
----


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