bitdeque::insert

insert overloads

Synopses

Declared in <util/bitdeque.h>

Insert a single bit before the given position.

iterator
insert(
    const_iterator pos,
    bool val);
» more...

Insert count copies of a bit before the given position.

iterator
insert(
    const_iterator pos,
    size_type count,
    bool val);
» more...

Insert the bits in [first,last) before the given position.]

template<typename It>
iterator
insert(
    const_iterator pos,
    It first,
    It last);
» more...

Return Value

  • Iterator to the inserted bit.
  • Iterator to the first inserted bit.

Parameters

NameDescription
posIterator before which the bit is inserted.
valValue of the inserted bit.
countNumber of bits to insert.
firstIterator to the first bit to insert.
lastIterator past the last bit to insert.