Same as the related overload above for stack.
Declared in <bslstl_stack.h>
template<
class INPUT_ITER,
class ALLOCATOR>
stack(
INPUT_ITER first,
INPUT_ITER last,
ALLOCATOR const& allocator)
requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value;
| Name | Description |
|---|---|
| first | beginning of the input range |
| last | end of the input range |
| allocator | allocator used to supply memory |