Constructors

Synopses

Declared in <util/bitdeque.h>

Construct an empty container.

explicit
bitdeque();

Copy constructor.

bitdeque(bitdeque const& other) = default;

Move constructor.

bitdeque(bitdeque&& other) noexcept = default;

Construct a container containing count false values.

explicit
bitdeque(size_t count);

Construct a container containing the bits in ilist.

bitdeque(std::initializer_list<bool> ilist);

Construct a container containing count times the value of val.

bitdeque(
    size_type count,
    bool val);

Construct a container containing the bits in [first,last).]

template<typename It>
bitdeque(
    It first,
    It last);

Parameters

Name

Description

other

Container to copy from.

count

Number of false bits in the new container.

ilist

Initializer list of bit values to copy.

val

Value assigned to every bit.

first

Iterator to the first bit to copy.

last

Iterator past the last bit to copy.

Created with MrDocs