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

◆ find() [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 >::find ( const Key & key)
inline

Definition at line 402 of file multi_map.h.

402 {
404 auto it = mTree.lower_bound(search_key);
405 if (it != mTree.end() && it->value.first == key) {
406 return iterator(it);
407 }
408 return end();
409 }
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
iterator end()
Definition multi_map.h:297

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

+ Here is the caller graph for this function: