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

Bitwise AND the specified `numBits` in this array, beginning at the specified `dstIndex`, with values from the specified `srcArray`, beginning at the specified `srcIndex` (retaining the results)&period; The behavior is undefined unless `dstIndex &plus; numBits &lt;&equals; length()` and `srcIndex &plus; numBits &lt;&equals; srcArray&period;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 dstIndex,
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray,
    std::size&lowbar;t srcIndex,
    std::size&lowbar;t numBits);
----


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