boost::dynamic_bitset::operator~ :: Boost.DynamicBitset

# boost::dynamic_bitset::operator~

Returns a copy of `*this` with all of its bits toggled.

## Synopsis

Declared in `<boost/dynamic_bitset/dynamic_bitset.hpp>`

    dynamic_bitset
    operator~() const;

## Throws

An allocation error if memory is exhausted (`std::bad_alloc` if `allocator_type` is a `std::allocator`).

## Return Value

A copy of `*this` with all of its bits toggled.

Created with MrDocs