boost::dynamic_bitset::operator&=
Bitwise‐ANDs 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 ];
}
Preconditions
-
this‐>size() == b.size().
Created with MrDocs