Create a queue from [first, last)] using allocator.
Declared in <bslstl_queue.h>
template<
class INPUT_ITER,
class ALLOCATOR>
queue(
INPUT_ITER first,
INPUT_ITER last,
ALLOCATOR const& allocator)
requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value;
Same as the preceding overload.
| Name | Description |
|---|---|
| first | beginning of the range of elements to insert |
| last | end of the range of elements to insert |
| allocator | allocator used to supply memory |