boost::dynamic_bitset::max_size

Returns the maximum size of a bitset of this type.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

size_type
max_size() const noexcept;

Throws

Nothing.

[The semantics of this function could change slightly when lib issue 197 will be closed.]

Return Value

The maximum size of a dynamic_bitset object having the same type as *this. Note that if any dynamic_bitset operation causes size() to exceed max_size() then the behavior is undefined.

Created with MrDocs