1.6 KiB
1.6 KiB
[queue.cons]
23 Containers library [containers]
23.6 Container adaptors [container.adaptors]
23.6.3 Class template queue [queue]
23.6.3.2 Constructors [queue.cons]
constexpr explicit queue(const Container& cont);
Effects: Initializes c with cont.
constexpr explicit queue(Container&& cont);
Effects: Initializes c with std::move(cont).
template<class InputIterator> constexpr queue(InputIterator first, InputIterator last);
Effects: Initializes c withfirst as the first argument and last as the second argument.
template<[container-compatible-range](container.intro.reqmts#concept:container-compatible-range "23.2.2.1 Introduction [container.intro.reqmts]")<T> R> constexpr queue(from_range_t, R&& rg);
Effects: Initializes c with ranges::to(std::forward(rg)).