boost::dynamic_bitset::operatorˆ=

Bitwise‐XORs all the bits in this bitset with the bits in b.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

dynamic_bitset&
operatorˆ=(dynamic_bitset const& b);

Description

This is equivalent to:

for ( size_type i = 0; i != this->size(); ++ i ) {
    ( *this )[ i ] = ( *this )[ i ] ^ b[ i ];
}

Return Value

*this.

Parameters

Name Description

b

The right operand

Preconditions

  • this‐>size() == b.size().

Created with MrDocs