FastLED 3.9.15
Loading...
Searching...
No Matches

◆ upper_bound() [1/2]

template<typename Key, typename Value, typename Compare = less<Key>, typename Allocator = allocator<fl::pair<Key, Value>>>
iterator fl::MultiMapTree< Key, Value, Compare, Allocator >::upper_bound ( const Key & key)
inline

Definition at line 447 of file multi_map.h.

447 {
448 ValueWithId search_key(value_type(key, Value()), mNextId); // Use mNextId to get upper bound
449 return iterator(mTree.upper_bound(search_key));
450 }
fl::pair< Key, Value > value_type
Definition multi_map.h:25
TreeType mTree
Definition multi_map.h:75
IteratorWrapper iterator
Definition multi_map.h:255
fl::size mNextId
Definition multi_map.h:76

Referenced by fl::MultiMapTree< Key, T, Compare, fl::allocator_slab< char > >::equal_range(), and fl::MultiMapTree< Key, T, Compare, fl::allocator_slab< char > >::equal_range().

+ Here is the caller graph for this function: