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

◆ find() [1/2]

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

Definition at line 292 of file multi_set.h.

292 {
294 auto it = mTree.lower_bound(search_key);
295 if (it != mTree.end() && it->value == key) {
296 return iterator(it);
297 }
298 return end();
299 }
TreeType mTree
Definition multi_set.h:72
iterator end()
Definition multi_set.h:192
ConstIteratorWrapper iterator
Definition multi_set.h:161

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

+ Here is the caller graph for this function: