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

◆ upper_bound() [1/2]

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

Definition at line 337 of file multi_set.h.

337 {
338 ValueWithId search_key(key, mNextId); // Use mNextId to get upper bound
339 return iterator(mTree.upper_bound(search_key));
340 }
TreeType mTree
Definition multi_set.h:72
fl::size mNextId
Definition multi_set.h:73
ConstIteratorWrapper iterator
Definition multi_set.h:161

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

+ Here is the caller graph for this function: