@@ -366,8 +366,8 @@ class btree_map
366366 // Determines whether an element comparing equal to the given `key` exists
367367 // within the `btree_map`, returning `true` if so or `false` otherwise.
368368 //
369- // Supports heterogeneous lookup, provided that the map is provided a
370- // compatible heterogeneous comparator.
369+ // Supports heterogeneous lookup, provided that the map has a compatible
370+ // heterogeneous comparator.
371371 using Base::contains;
372372
373373 // btree_map::count()
@@ -378,8 +378,8 @@ class btree_map
378378 // the `btree_map`. Note that this function will return either `1` or `0`
379379 // since duplicate elements are not allowed within a `btree_map`.
380380 //
381- // Supports heterogeneous lookup, provided that the map is provided a
382- // compatible heterogeneous comparator.
381+ // Supports heterogeneous lookup, provided that the map has a compatible
382+ // heterogeneous comparator.
383383 using Base::count;
384384
385385 // btree_map::equal_range()
@@ -395,10 +395,34 @@ class btree_map
395395 //
396396 // Finds an element with the passed `key` within the `btree_map`.
397397 //
398- // Supports heterogeneous lookup, provided that the map is provided a
399- // compatible heterogeneous comparator.
398+ // Supports heterogeneous lookup, provided that the map has a compatible
399+ // heterogeneous comparator.
400400 using Base::find;
401401
402+ // btree_map::lower_bound()
403+ //
404+ // template <typename K> iterator lower_bound(const K& key):
405+ // template <typename K> const_iterator lower_bound(const K& key) const:
406+ //
407+ // Finds the first element with a key that is not less than `key` within the
408+ // `btree_map`.
409+ //
410+ // Supports heterogeneous lookup, provided that the map has a compatible
411+ // heterogeneous comparator.
412+ using Base::lower_bound;
413+
414+ // btree_map::upper_bound()
415+ //
416+ // template <typename K> iterator upper_bound(const K& key):
417+ // template <typename K> const_iterator upper_bound(const K& key) const:
418+ //
419+ // Finds the first element with a key that is greater than `key` within the
420+ // `btree_map`.
421+ //
422+ // Supports heterogeneous lookup, provided that the map has a compatible
423+ // heterogeneous comparator.
424+ using Base::upper_bound;
425+
402426 // btree_map::operator[]()
403427 //
404428 // Returns a reference to the value mapped to the passed key within the
@@ -691,8 +715,8 @@ class btree_multimap
691715 // Determines whether an element comparing equal to the given `key` exists
692716 // within the `btree_multimap`, returning `true` if so or `false` otherwise.
693717 //
694- // Supports heterogeneous lookup, provided that the map is provided a
695- // compatible heterogeneous comparator.
718+ // Supports heterogeneous lookup, provided that the map has a compatible
719+ // heterogeneous comparator.
696720 using Base::contains;
697721
698722 // btree_multimap::count()
@@ -702,8 +726,8 @@ class btree_multimap
702726 // Returns the number of elements comparing equal to the given `key` within
703727 // the `btree_multimap`.
704728 //
705- // Supports heterogeneous lookup, provided that the map is provided a
706- // compatible heterogeneous comparator.
729+ // Supports heterogeneous lookup, provided that the map has a compatible
730+ // heterogeneous comparator.
707731 using Base::count;
708732
709733 // btree_multimap::equal_range()
@@ -720,10 +744,34 @@ class btree_multimap
720744 //
721745 // Finds an element with the passed `key` within the `btree_multimap`.
722746 //
723- // Supports heterogeneous lookup, provided that the map is provided a
724- // compatible heterogeneous comparator.
747+ // Supports heterogeneous lookup, provided that the map has a compatible
748+ // heterogeneous comparator.
725749 using Base::find;
726750
751+ // btree_multimap::lower_bound()
752+ //
753+ // template <typename K> iterator lower_bound(const K& key):
754+ // template <typename K> const_iterator lower_bound(const K& key) const:
755+ //
756+ // Finds the first element with a key that is not less than `key` within the
757+ // `btree_multimap`.
758+ //
759+ // Supports heterogeneous lookup, provided that the map has a compatible
760+ // heterogeneous comparator.
761+ using Base::lower_bound;
762+
763+ // btree_multimap::upper_bound()
764+ //
765+ // template <typename K> iterator upper_bound(const K& key):
766+ // template <typename K> const_iterator upper_bound(const K& key) const:
767+ //
768+ // Finds the first element with a key that is greater than `key` within the
769+ // `btree_multimap`.
770+ //
771+ // Supports heterogeneous lookup, provided that the map has a compatible
772+ // heterogeneous comparator.
773+ using Base::upper_bound;
774+
727775 // btree_multimap::get_allocator()
728776 //
729777 // Returns the allocator function associated with this `btree_multimap`.
0 commit comments