boost::dynamic_bitset::dynamic_bitset
Move constructor.
Synopsis
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
dynamic_bitset(dynamic_bitset&& src) noexcept(/* see-below */);
Description
Constructs a bitset that is the same as the bitset src, while using the resources from src. The allocator for this bitset is moved from the allocator in src.
Throws
Nothing, unless the move constructor of buffer_type throws (that of std::vector, the buffer used when AllocatorOrContainer is an allocator, doesn't). This constructor is noexcept if that move constructor is.
Exception specification
This function is potentially-throwing unless std::is_nothrow_move_constructible<buffer_type>::value.
Postconditions
-
src.size() == 0andsrc.num_blocks() == 0, i.e.srcis left empty, and can be used like any other empty bitset.
Created with MrDocs