[stack.cons] (original) (raw)
23 Containers library [containers]
23.6 Container adaptors [container.adaptors]
23.6.6 Class template stack [stack]
23.6.6.3 Constructors [stack.cons]
constexpr explicit stack(const Container& cont);
Effects: Initializes c with cont.
constexpr explicit stack(Container&& cont);
Effects: Initializes c with std::move(cont).
template<class InputIterator> constexpr stack(InputIterator first, InputIterator last);
Effects: Initializes c withfirst as the first argument and last as the second argument.
Effects: Initializes c with ranges::to<Container>(std::forward<R>(rg)).