Lines Matching refs:Compare
20 template <class Key, class T, class Compare = less<Key>,
29 typedef Compare key_compare;
74 …map(from_range_t, R&& rg, const Compare& comp = Compare(), const Allocator& = Allocator()); // C++…
87 : map(first, last, Compare(), a) {} // C++14
90 : map(from_range, std::forward<R>(rg), Compare(), a) { } // C++23
92 : map(il, Compare(), a) {} // C++14
234 class Compare = less<iter_key_t<InputIterator>>,
236 map(InputIterator, InputIterator, Compare = Compare(), Allocator = Allocator())
237 -> map<iter_key_t<InputIterator>, iter_val_t<InputIterator>, Compare, Allocator>; // C++17
239 template<ranges::input_range R, class Compare = less<range-key-type<R>,
241 map(from_range_t, R&&, Compare = Compare(), Allocator = Allocator())
242 -> map<range-key-type<R>, range-mapped-type<R>, Compare, Allocator>; // C++23
244 template<class Key, class T, class Compare = less<Key>,
246 map(initializer_list<pair<const Key, T>>, Compare = Compare(), Allocator = Allocator())
247 -> map<Key, T, Compare, Allocator>; // C++17
261 template <class Key, class T, class Compare, class Allocator>
263 operator==(const map<Key, T, Compare, Allocator>& x,
264 const map<Key, T, Compare, Allocator>& y);
266 template <class Key, class T, class Compare, class Allocator>
268 operator< (const map<Key, T, Compare, Allocator>& x,
269 const map<Key, T, Compare, Allocator>& y); // removed in C++20
271 template <class Key, class T, class Compare, class Allocator>
273 operator!=(const map<Key, T, Compare, Allocator>& x,
274 const map<Key, T, Compare, Allocator>& y); // removed in C++20
276 template <class Key, class T, class Compare, class Allocator>
278 operator> (const map<Key, T, Compare, Allocator>& x,
279 const map<Key, T, Compare, Allocator>& y); // removed in C++20
281 template <class Key, class T, class Compare, class Allocator>
283 operator>=(const map<Key, T, Compare, Allocator>& x,
284 const map<Key, T, Compare, Allocator>& y); // removed in C++20
286 template <class Key, class T, class Compare, class Allocator>
288 operator<=(const map<Key, T, Compare, Allocator>& x,
289 const map<Key, T, Compare, Allocator>& y); // removed in C++20
291 template<class Key, class T, class Compare, class Allocator>
293 operator<=>(const map<Key, T, Compare, Allocator>& x,
294 const map<Key, T, Compare, Allocator>& y); // since C++20
297 template <class Key, class T, class Compare, class Allocator>
299 swap(map<Key, T, Compare, Allocator>& x, map<Key, T, Compare, Allocator>& y)
302 template <class Key, class T, class Compare, class Allocator, class Predicate>
303 typename map<Key, T, Compare, Allocator>::size_type
304 erase_if(map<Key, T, Compare, Allocator>& c, Predicate pred); // C++20
307 template <class Key, class T, class Compare = less<Key>,
316 typedef Compare key_compare;
359 const Compare& comp = Compare(), const Allocator& = Allocator()); // C++23
373 : multimap(first, last, Compare(), a) {} // C++14
376 : multimap(from_range, std::forward<R>(rg), Compare(), a) { } // C++23
378 : multimap(il, Compare(), a) {} // C++14
496 class Compare = less<iter_key_t<InputIterator>>,
498 multimap(InputIterator, InputIterator, Compare = Compare(), Allocator = Allocator())
499 -> multimap<iter_key_t<InputIterator>, iter_val_t<InputIterator>, Compare, Allocator>; // C++17
501 template<ranges::input_range R, class Compare = less<range-key-type<R>>,
503 multimap(from_range_t, R&&, Compare = Compare(), Allocator = Allocator())
504 -> multimap<range-key-type<R>, range-mapped-type<R>, Compare, Allocator>; // C++23
506 template<class Key, class T, class Compare = less<Key>,
508 multimap(initializer_list<pair<const Key, T>>, Compare = Compare(), Allocator = Allocator())
509 -> multimap<Key, T, Compare, Allocator>; // C++17
524 template <class Key, class T, class Compare, class Allocator>
526 operator==(const multimap<Key, T, Compare, Allocator>& x,
527 const multimap<Key, T, Compare, Allocator>& y);
529 template <class Key, class T, class Compare, class Allocator>
531 operator< (const multimap<Key, T, Compare, Allocator>& x,
532 const multimap<Key, T, Compare, Allocator>& y); // removed in C++20
534 template <class Key, class T, class Compare, class Allocator>
536 operator!=(const multimap<Key, T, Compare, Allocator>& x,
537 const multimap<Key, T, Compare, Allocator>& y); // removed in C++20
539 template <class Key, class T, class Compare, class Allocator>
541 operator> (const multimap<Key, T, Compare, Allocator>& x,
542 const multimap<Key, T, Compare, Allocator>& y); // removed in C++20
544 template <class Key, class T, class Compare, class Allocator>
546 operator>=(const multimap<Key, T, Compare, Allocator>& x,
547 const multimap<Key, T, Compare, Allocator>& y); // removed in C++20
549 template <class Key, class T, class Compare, class Allocator>
551 operator<=(const multimap<Key, T, Compare, Allocator>& x,
552 const multimap<Key, T, Compare, Allocator>& y); // removed in C++20
554 template<class Key, class T, class Compare, class Allocator>
556 operator<=>(const multimap<Key, T, Compare, Allocator>& x,
557 const multimap<Key, T, Compare, Allocator>& y); // since c++20
560 template <class Key, class T, class Compare, class Allocator>
562 swap(multimap<Key, T, Compare, Allocator>& x,
563 multimap<Key, T, Compare, Allocator>& y)
566 template <class Key, class T, class Compare, class Allocator, class Predicate>
567 typename multimap<Key, T, Compare, Allocator>::size_type
568 erase_if(multimap<Key, T, Compare, Allocator>& c, Predicate pred); // C++20