Constructors
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...
| 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. |