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);

Replaces the contents with count copies of value.

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

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);

Parameters

Name

Description

il

The initializer list to copy elements from.

count

The number of elements to create.

value

The value to copy into each element.

first

An iterator to the beginning of the range.

last

An iterator past the end of the range.

Created with MrDocs