Return a bitset that results from a bitwise OR of the specified lhs and rhs.

Synopsis

Declared in <bslstl_bitset.h>

template<std::size_t N>
bitset<N>
operator|(
    bitset<N> const& lhs,
    bitset<N> const& rhs) noexcept;

Return Value

bitset that is the bitwise OR of lhs and rhs

Parameters

Name

Description

lhs

left‐hand bitset operand

rhs

right‐hand bitset operand

Created with MrDocs