Lines Matching +full:alloc +full:- +full:ranges

1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
45 template<container-compatible-range<T> R> stack(from_range_t, R&& rg); // since C++23
46 template <class Alloc> explicit stack(const Alloc& a);
47 template <class Alloc> stack(const container_type& c, const Alloc& a);
48 template <class Alloc> stack(container_type&& c, const Alloc& a);
49 template <class Alloc> stack(const stack& c, const Alloc& a);
50 template <class Alloc> stack(stack&& c, const Alloc& a);
51 template<class InputIterator, class Alloc>
52 stack(InputIterator first, InputIterator last, const Alloc&); // since C++23
53 template<container-compatible-range<T> R, class Alloc>
54 stack(from_range_t, R&& rg, const Alloc&); // since C++23
63 template<container-compatible-range<T> R>
72 stack(Container) -> stack<typename Container::value_type, Container>; // C++17
75 stack(InputIterator, InputIterator) -> stack<iter-value-type<InputIterator>>; // since C++23
77 template<ranges::input_range R>
78 stack(from_range_t, R&&) -> stack<ranges::range_value_t<R>>; // since C++23
81 stack(Container, Allocator) -> stack<typename Container::value_type, Container>; // C++17
85 -> stack<iter-value-type<InputIterator>,
86 deque<iter-value-type<InputIterator>, Allocator>>; // since C++23
88 template<ranges::input_range R, class Allocator>
90 -> stack<ranges::range_value_t<R>, deque<ranges::range_value_t<R>, Allocator>>; // since C++23
131 // standard-mandated includes
249 ranges::copy(std::forward<_Range>(__range), std::back_inserter(c));
287 stack(_Container) -> stack<typename _Container::value_type, _Container>;
293 stack(_Container, _Alloc) -> stack<typename _Container::value_type, _Container>;
298 stack(_InputIterator, _InputIterator) -> stack<__iter_value_type<_InputIterator>>;
300 template <ranges::input_range _Range>
301 stack(from_range_t, _Range&&) -> stack<ranges::range_value_t<_Range>>;
309 …_Alloc) -> stack<__iter_value_type<_InputIterator>, deque<__iter_value_type<_InputIterator>, _Allo…
311 template <ranges::input_range _Range, class _Alloc, __enable_if_t<__is_allocator<_Alloc>::value, in…
314 _Alloc) -> stack<ranges::range_value_t<_Range>, deque<ranges::range_value_t<_Range>, _Alloc>>;