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(noexcept(a.swap(b)));
Throws
The same as a.swap( b ). This function is noexcept if and only if a.swap( b ) is.
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