Lines Matching full:container
27 template <class Container, class Range>
29 Container(std::from_range, std::forward<Range>(range));
30 Container(std::from_range, std::forward<Range>(range), std::less<typename Container::key_type>());
31 Container(std::from_range, std::forward<Range>(range), std::less<typename Container::key_type>(),
32 std::allocator<typename Container::value_type>());
33 Container(std::from_range, std::forward<Range>(range), std::allocator<typename Container::value_type>());
36 template <template <class...> class Container, class K, class V, class K2, class V2>
41 static_assert(HasFromRangeCtr<Container<K, V>, InputRange<ValueType>>);
43 static_assert(HasFromRangeCtr<Container<K, V>, InputRange<std::pair<const K2, V2>>>);
45 static_assert(!HasFromRangeCtr<Container<K, V>, InputRange<std::pair<const Empty, V>>>);
46 static_assert(!HasFromRangeCtr<Container<K, V>, InputRange<std::pair<const K, Empty>>>);
48 static_assert(!HasFromRangeCtr<Container<K, V>, InputRangeNotDerivedFromGeneric<ValueType>>);
53 template <template <class ...> class Container,
64 Container<K, V> c(std::from_range, in);
73 Container<K, V, Comp> c(std::from_range, in, comp);
83 Container<K, V, std::less<K>, Alloc> c(std::from_range, in, alloc);
94 Container<K, V, Comp, Alloc> c(std::from_range, in, comp, alloc);
103 template <template <class ...> class Container,
111 auto test_with_input = &test_associative_map_with_input<Container, K, V, Iter, Sent, Comp, Alloc>;
121 template <template <class ...> class Container>
126 [[maybe_unused]] Container<int, MoveOnly> c(std::from_range, in);
129 template <template <class ...> class Container>
143 Container<K, V> c(std::from_range, in);
153 template <template <class ...> class Container, class K, class V>
165 Container<K, V, test_less<K>, ThrowingAllocator<ValueType>> c(std::from_range, in, alloc);
174 template <class Container, class Range>
176 Container(std::from_range, std::forward<Range>(range));
177 Container(std::from_range, std::forward<Range>(range), std::less<typename Container::value_type>());
178 Container(std::from_range, std::forward<Range>(range), std::less<typename Container::value_type>(),
179 std::allocator<typename Container::value_type>());
180 Container(std::from_range, std::forward<Range>(range), std::allocator<typename Container::value_type>());
183 template <template <class...> class Container, class T, class U>
186 static_assert(SetHasFromRangeCtr<Container<T>, InputRange<T>>);
188 static_assert(SetHasFromRangeCtr<Container<T>, InputRange<U>>);
190 static_assert(!SetHasFromRangeCtr<Container<T>, InputRange<Empty>>);
192 static_assert(!SetHasFromRangeCtr<Container<T>, InputRangeNotDerivedFromGeneric<T>>);
197 template <template <class ...> class Container,
206 Container<T> c(std::from_range, in);
215 Container<T, Comp> c(std::from_range, in, comp);
225 Container<T, std::less<T>, Alloc> c(std::from_range, in, alloc);
236 Container<T, Comp, Alloc> c(std::from_range, in, comp, alloc);
245 template <template <class ...> class Container,
252 auto test_with_input = &test_associative_set_with_input<Container, T, Iter, Sent, Comp, Alloc>;
262 template <template <class ...> class Container>
267 [[maybe_unused]] Container<MoveOnly> c(std::from_range, in);
270 template <template <class ...> class Container>
278 Container<T> c(std::from_range, in);
288 template <template <class ...> class Container, class T>
297 Container<T, test_less<T>, ThrowingAllocator<T>> c(std::from_range, in, alloc);