bsl::stack<CONTAINER::value_type, CONTAINER>

Deduce the template parameters VALUE and CONTAINER from the parameters supplied to the constructor of stack.

Synopsis

Declared in <bslstl_stack.h>

template<
    class CONTAINER,
    class ALLOCATOR>
requires bsl::uses_allocator_v<CONTAINER, ALLOCATOR>
stack<CONTAINER::value_type, CONTAINER>(
    CONTAINER,
    ALLOCATOR) -> stack<CONTAINER::value_type, CONTAINER>;

Description

Deduce the template parameters VALUE and CONTAINER from the parameters supplied to the constructor of stack. This deduction guide does not participate unless the supplied allocator is convertible to the underlying container's allocator_type.