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

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

Created with MrDocs