Same as the preceding overload.

Synopsis

Declared in <bslstl_stack.h>

template<
    class t_RANGE,
    class t_ALLOCATOR>
stack(
    std::from_range_t tag,
    t_RANGE&& range,
    t_ALLOCATOR const& allocator)
requires bsl::uses_allocator<CONTAINER,t_ALLOCATOR>::value;

Parameters

Name

Description

tag

disambiguation tag for range construction

range

range of elements used to initialize this stack

allocator

allocator used to supply memory

Created with MrDocs