boost::dynamic_bitset::operator‐= :: Boost.DynamicBitset

# boost::dynamic_bitset::operator‐=

Computes the set difference of this bitset and the `b` bitset.

## 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