boost::swap
swap overloads
Synopses
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
Exchanges the values of the bits which a and b refer to.
Exchanges the contents of a and b.
template<
typename Block,
typename AllocatorOrContainer>
void
swap(
dynamic_bitset<Block, AllocatorOrContainer>& a,
dynamic_bitset<Block, AllocatorOrContainer>& b) noexcept(noexcept(a.swap(b)));
Parameters
Name |
Description |
a |
The bitset to exchange the contents of with |
b |
The bitset to exchange the contents of with |
Preconditions
-
The same as for
a.swap( b ).
Created with MrDocs