boost::dynamic_bitset::push_back

Increases the size of the bitset by one, and sets the value of the new most significant bit to bit.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

void
push_back(bool bit);

Throws

An allocation error if memory is exhausted (std::bad_alloc if allocator_type is a std::allocator).

Parameters

Name Description

bit

The value to set the most significant bit to.

Created with MrDocs