Boost.DynamicBitset

    • Boost.DynamicBitset
    • Reference
  • boost::swap
arrow_upward

boost::swap

Exchanges the contents of a and b.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

template<
    typename Block,
    typename AllocatorOrContainer>
void
swap(
    dynamic_bitset<Block, AllocatorOrContainer>& a,
    dynamic_bitset<Block, AllocatorOrContainer>& b) noexcept;

Throws

Nothing.

Parameters

Name Description

a

The bitset to exchange the contents of with b.

b

The bitset to exchange the contents of with a.

Created with MrDocs