Create a queue from range using allocator.
Synopsis
Declared in <bslstl_queue.h>
template<
class t_RANGE,
class t_ALLOCATOR>
queue(
std::from_range_t unused,
t_RANGE&& range,
t_ALLOCATOR const& allocator)
requires bsl::uses_allocator<CONTAINER,t_ALLOCATOR>::value;
Description
Same as the preceding overload.
Parameters
Name |
Description |
unused |
tag selecting the from‐range constructor overload |
range |
input range of elements to insert |
allocator |
allocator used to supply memory |
Created with MrDocs