absl::chunked_queue::chunked_queue

Constructors

Synopses

Declared in <absl/container/chunked_queue.h>

Constructs an empty queue.

chunked_queue();
» more...

Copy constructor.

chunked_queue(chunked_queue const& other);
» more...

Move constructor.

chunked_queue(chunked_queue&& other) noexcept;
» more...

Constructs an empty queue with a custom allocator.

explicit
chunked_queue(allocator_type const& alloc);
» more...

Constructs a queue with count default-inserted elements.

explicit
chunked_queue(
    size_type count,
    allocator_type const& alloc = allocator_type());
» more...

Constructs a queue with the contents of the initializer list list.

chunked_queue(
    std::initializer_list<T> list,
    allocator_type const& alloc = allocator_type());
» more...

Copy constructor with specific allocator.

chunked_queue(
    chunked_queue const& other,
    allocator_type const& alloc);
» more...

Constructs a queue with count copies of value.

chunked_queue(
    size_type count,
    T const& value,
    allocator_type const& alloc = allocator_type());
» more...

Constructs a queue with the contents of the range [first, last).]

template<typename Iter>
requires base_internal::IsAtLeastInputIterator<Iter>::value
chunked_queue(
    Iter first,
    Iter last,
    allocator_type const& alloc = allocator_type());
» more...

Parameters

NameDescription
otherThe queue to copy from.
allocThe allocator to use.
countThe number of elements to create.
listThe initializer list to copy elements from.
valueThe value to copy into each element.
firstAn iterator to the beginning of the range.
lastAn iterator past the end of the range.