[#BloombergLP-bdlc-BitArray-orEqual-07f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::orEqual :relfileprefix: ../../../ :mrdocs: Bitwise OR a bit range from `srcArray` into this array. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void orEqual( std::size_t dstIndex, xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray, std::size_t srcIndex, std::size_t numBits); ---- == Description Bitwise OR 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). The behavior is undefined unless `dstIndex + numBits <= length()` and `srcIndex + numBits <= srcArray.length()`. == Parameters [cols="1,4"] |=== | Name| Description | *dstIndex* | starting index in this array | *srcArray* | array providing the source bits | *srcIndex* | starting index in `srcArray` | *numBits* | number of bits to OR |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#