assign overloads

Synopses

Declared in <util/bitdeque.h>

Set the container equal to the bits in ilist.

void
assign(std::initializer_list<bool> ilist);

Set the container equal to count times the value of val.

void
assign(
    size_type count,
    bool val);

Set the container equal to the bits in [first,last).]

template<typename It>
void
assign(
    It first,
    It last);

Parameters

Name

Description

ilist

Initializer list of bit values to copy.

count

Number of bits the container holds afterwards.

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