Lines Matching full:compare

20 template <class Key, class Compare = less<Key>,
28 typedef Compare key_compare;
60 …set(from_range_t, R&& rg, const Compare& comp = Compare(), const Allocator& = Allocator()); // C++…
74 : set(first, last, Compare(), a) {} // C++14
77 : set(from_range, std::forward<R>(rg), Compare(), a) { } // C++23
79 : set(il, Compare(), a) {} // C++14
194 class Compare = less<typename iterator_traits<InputIterator>::value_type>,
197 Compare = Compare(), Allocator = Allocator())
198 -> set<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>; // C++17
200 template<ranges::input_range R, class Compare = less<ranges::range_value_t<R>>,
202 set(from_range_t, R&&, Compare = Compare(), Allocator = Allocator())
203 -> set<ranges::range_value_t<R>, Compare, Allocator>; // C++23
205 template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
206 set(initializer_list<Key>, Compare = Compare(), Allocator = Allocator())
207 -> set<Key, Compare, Allocator>; // C++17
221 template <class Key, class Compare, class Allocator>
223 operator==(const set<Key, Compare, Allocator>& x,
224 const set<Key, Compare, Allocator>& y);
226 template <class Key, class Compare, class Allocator>
228 operator< (const set<Key, Compare, Allocator>& x,
229 … const set<Key, Compare, Allocator>& y); // removed in C++20
231 template <class Key, class Compare, class Allocator>
233 operator!=(const set<Key, Compare, Allocator>& x,
234 … const set<Key, Compare, Allocator>& y); // removed in C++20
236 template <class Key, class Compare, class Allocator>
238 operator> (const set<Key, Compare, Allocator>& x,
239 … const set<Key, Compare, Allocator>& y); // removed in C++20
241 template <class Key, class Compare, class Allocator>
243 operator>=(const set<Key, Compare, Allocator>& x,
244 … const set<Key, Compare, Allocator>& y); // removed in C++20
246 template <class Key, class Compare, class Allocator>
248 operator<=(const set<Key, Compare, Allocator>& x,
249 … const set<Key, Compare, Allocator>& y); // removed in C++20
251 template<class Key, class Compare, class Allocator>
252 synth-three-way-result<Key> operator<=>(const set<Key, Compare, Allocator>& x,
253 const set<Key, Compare, Allocator>& y); // since C++20
256 template <class Key, class Compare, class Allocator>
258 swap(set<Key, Compare, Allocator>& x, set<Key, Compare, Allocator>& y)
261 template <class Key, class Compare, class Allocator, class Predicate>
262 typename set<Key, Compare, Allocator>::size_type
263 erase_if(set<Key, Compare, Allocator>& c, Predicate pred); // C++20
265 template <class Key, class Compare = less<Key>,
273 typedef Compare key_compare;
305 const Compare& comp = Compare(), const Allocator& = Allocator()); // C++23
319 : set(first, last, Compare(), a) {} // C++14
322 : multiset(from_range, std::forward<R>(rg), Compare(), a) { } // C++23
324 : set(il, Compare(), a) {} // C++14
440 class Compare = less<typename iterator_traits<InputIterator>::value_type>,
443 Compare = Compare(), Allocator = Allocator())
444 -> multiset<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>; // C++17
446 template<ranges::input_range R, class Compare = less<ranges::range_value_t<R>>,
448 multiset(from_range_t, R&&, Compare = Compare(), Allocator = Allocator())
449 -> multiset<ranges::range_value_t<R>, Compare, Allocator>;
451 template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
452 multiset(initializer_list<Key>, Compare = Compare(), Allocator = Allocator())
453 -> multiset<Key, Compare, Allocator>; // C++17
467 template <class Key, class Compare, class Allocator>
469 operator==(const multiset<Key, Compare, Allocator>& x,
470 const multiset<Key, Compare, Allocator>& y);
472 template <class Key, class Compare, class Allocator>
474 operator< (const multiset<Key, Compare, Allocator>& x,
475 … const multiset<Key, Compare, Allocator>& y); // removed in C++20
477 template <class Key, class Compare, class Allocator>
479 operator!=(const multiset<Key, Compare, Allocator>& x,
480 … const multiset<Key, Compare, Allocator>& y); // removed in C++20
482 template <class Key, class Compare, class Allocator>
484 operator> (const multiset<Key, Compare, Allocator>& x,
485 … const multiset<Key, Compare, Allocator>& y); // removed in C++20
487 template <class Key, class Compare, class Allocator>
489 operator>=(const multiset<Key, Compare, Allocator>& x,
490 … const multiset<Key, Compare, Allocator>& y); // removed in C++20
492 template <class Key, class Compare, class Allocator>
494 operator<=(const multiset<Key, Compare, Allocator>& x,
495 … const multiset<Key, Compare, Allocator>& y); // removed in C++20
497 template<class Key, class Compare, class Allocator>
498 synth-three-way-result<Key> operator<=>(const multiset<Key, Compare, Allocator>& x,
499 … const multiset<Key, Compare, Allocator>& y); // since C++20
502 template <class Key, class Compare, class Allocator>
504 swap(multiset<Key, Compare, Allocator>& x, multiset<Key, Compare, Allocator>& y)
507 template <class Key, class Compare, class Allocator, class Predicate>
508 typename multiset<Key, Compare, Allocator>::size_type
509 erase_if(multiset<Key, Compare, Allocator>& c, Predicate pred); // C++20
547 #include <compare>