[#BloombergLP-bdlc-BitArray-operator_and_eq] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::operator&= :relfileprefix: ../../../ :mrdocs: Bitwise AND the value of the specified `rhs` array with the value of this array (retaining the results), and return a non‐`const` reference to this object. The length of the result will be the maximum of the lengths of this object and `rhs`, where any most‐significant bits that are represented in one of the two but not the other will be set to 0. Note that `a &= b;` will result in the same value of `a` as `a = a & b;`. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/BitArray.adoc[BitArray]& operator&=(xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#