bsl::queue::queue

Create a queue from [first, last)] using allocator.

Synopsis

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;

Description

Same as the preceding overload.

Parameters

NameDescription
firstbeginning of the range of elements to insert
lastend of the range of elements to insert
allocatorallocator used to supply memory