boost::dynamic_bitset::push_front

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

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

void
push_front(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 least significant bit to.

Created with MrDocs