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

◆ find() [2/2]

template<typename T, typename LessThan = fl::less<T>>
iterator fl::SortedHeapVector< T, LessThan >::find ( const T & value)
inline

Definition at line 1064 of file vector.h.

1064 {
1066 if (pos != end() && !mLess(value, *pos) && !mLess(*pos, value)) {
1067 return pos;
1068 }
1069 return end();
1070 }
vector< T >::iterator iterator
Definition vector.h:983
iterator lower_bound(const T &value) FL_NOEXCEPT
Definition vector.h:1046
iterator end() FL_NOEXCEPT
Definition vector.h:1112

References end(), FL_NOEXCEPT, lower_bound(), mLess, pos, and fl::type_rank< T >::value.

Referenced by erase(), find(), and has().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: