boost::dynamic_bitset::dynamic_bitset
Constructs a bitset of size zero.
Synopsis
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
explicit
dynamic_bitset(allocator_type const& alloc) noexcept(/* see-below */);
Throws
Nothing, unless the constructor of buffer_type from an allocator throws (that of std::vector, the buffer used when AllocatorOrContainer is an allocator, doesn't). This constructor is noexcept if that constructor of buffer_type is.
Exception specification
This function is potentially-throwing unless std::is_nothrow_constructible<buffer_type, const allocator_type &>::value.
Parameters
Name |
Description |
alloc |
An allocator, a copy of which will be used to allocate memory when needed. |
Postconditions
-
this‐>size() == 0
Created with MrDocs