[#BloombergLP-bdlc-BitArray-orEqual-076]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::orEqual
:relfileprefix: ../../../
:mrdocs:

`orEqual` overloads

== Synopses

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

OR 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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/orEqual-0f.adoc[orEqual](
    std::size&lowbar;t index,
    bool value);
----

[.small]#xref:BloombergLP/bdlc/BitArray/orEqual-0f.adoc[_» more&period;&period;&period;_]#

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)&period; The behavior is undefined unless `dstIndex &plus; numBits &lt;&equals; length()` and `srcIndex &plus; numBits &lt;&equals; srcArray&period;length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/orEqual-07f.adoc[orEqual](
    std::size&lowbar;t dstIndex,
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray,
    std::size&lowbar;t srcIndex,
    std::size&lowbar;t numBits);
----

[.small]#xref:BloombergLP/bdlc/BitArray/orEqual-07f.adoc[_» more&period;&period;&period;_]#


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