[#BloombergLP-bdlc-operator_bitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&verbar;
:relfileprefix: ../../
:mrdocs:

Return the value that is the bitwise OR of the specified `lhs` and `rhs` arrays&period; The length of the resulting bit array will be the maximum of that of `lhs` and `rhs`, with any unmatched high&hyphen;order bits copied unchanged&period; Note that this behavior is consistent with zero&hyphen;extending a copy of the shorter array&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/BitArray.adoc[bdlc::BitArray]
operator&verbar;(
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& lhs,
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& rhs);
----


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