Constructors
Synopses
Declared in <absl/container/chunked_queue.h>
Constructs an empty queue.
Copy constructor.
chunked_queue(chunked_queue const& other);
Move constructor.
chunked_queue(chunked_queue&& other) noexcept;
Constructs an empty queue with a custom allocator.
explicit
chunked_queue(allocator_type const& alloc);
Constructs a queue with count default‐inserted elements.
explicit
chunked_queue(
size_type count,
allocator_type const& alloc = allocator_type());
Constructs a queue with the contents of the initializer list list.
chunked_queue(
std::initializer_list<T> list,
allocator_type const& alloc = allocator_type());
Copy constructor with specific allocator.
chunked_queue(
chunked_queue const& other,
allocator_type const& alloc);
Constructs a queue with count copies of value.
chunked_queue(
size_type count,
T const& value,
allocator_type const& alloc = allocator_type());
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());
Parameters
Name |
Description |
other |
The queue to copy from. |
alloc |
The allocator to use. |
count |
The number of elements to create. |
list |
The initializer list to copy elements from. |
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