absl::chunked_queue::assign

assign overloads

Synopses

Declared in <absl/container/chunked_queue.h>

Replaces the contents with the elements from the initializer list il.

void
assign(std::initializer_list<T> il);
» more...

Replaces the contents with count copies of value.

void
assign(
    size_type count,
    T const& value);
» more...

Replaces the contents with copies of those in the range [first, last).]

template<typename Iter>
requires base_internal::IsAtLeastInputIterator<Iter>::value
void
assign(
    Iter first,
    Iter last);
» more...

Parameters

NameDescription
ilThe initializer list to copy elements from.
countThe number of elements to create.
valueThe value to copy into each element.
firstAn iterator to the beginning of the range.
lastAn iterator past the end of the range.