[#bsl-bitset-operator_or_eq] = xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::operator|= :relfileprefix: ../../ :mrdocs: Set bits of this bitset where the corresponding bits of `rhs` are 1. == Synopsis Declared in `<bslstl_bitset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/bitset.adoc[bitset<N>]& operator|=(xref:bsl/bitset.adoc[bitset] const& rhs) noexcept; ---- == Description Set each bit of this bitset for each corresponding bit that is 1 in the specified `rhs`, and leaves all other bits unchanged. Return a reference to this modifiable bitset. Note that this is equivalent to a bitwise AND. == Return Value reference to this modifiable bitset == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | bitset providing bits that are OR'd into this object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#