[#BloombergLP-bdlc-BitArray-andEqual-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::andEqual :relfileprefix: ../../../ :mrdocs: `andEqual` overloads == Synopses Declared in `<bdlc_bitarray.h>` AND the bit at the specified `index` in this array with the specified `value` (retaining the result). The behavior is undefined unless `index < length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/BitArray/andEqual-0a.adoc[andEqual]( std::size_t index, bool value); ---- [.small]#xref:BloombergLP/bdlc/BitArray/andEqual-0a.adoc[_» more..._]# Bitwise AND a bit range from `srcArray` into this array. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/BitArray/andEqual-02.adoc[andEqual]( std::size_t dstIndex, xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray, std::size_t srcIndex, std::size_t numBits); ---- [.small]#xref:BloombergLP/bdlc/BitArray/andEqual-02.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *index* | bit position to modify | *value* | bit value to AND at `index` | *dstIndex* | starting index in this array | *srcArray* | array providing the source bits | *srcIndex* | starting index in `srcArray` | *numBits* | number of bits to AND |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#