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

◆ find() [2/2]

template<typename Key, typename Less = fl::less<Key>>
const_iterator fl::flat_set< Key, Less >::find ( const Key & key) const
inline

Definition at line 102 of file flat_set.h.

102 {
103 auto it = lower_bound(key);
104 if (it != end() && !mLess(key, *it) && !mLess(*it, key)) {
105 return it;
106 }
107 return end();
108 }
iterator end()
Definition flat_set.h:76
iterator lower_bound(const Key &key)
Definition flat_set.h:119

References end(), lower_bound(), and mLess.

+ Here is the call graph for this function: