bsl::operator^

Return a bitset that results from a bitwise XOR 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 XOR of lhs and rhs

Parameters

NameDescription
lhsleft-hand bitset operand
rhsright-hand bitset operand