FastLED 3.10.8
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 1068 of file vector.h.

1068 {
1070 if (pos != end() && !mLess(value, *pos) && !mLess(*pos, value)) {
1071 return pos;
1072 }
1073 return end();
1074 }
vector< T >::iterator iterator
Definition vector.h:987
iterator end() FL_NO_EXCEPT
Definition vector.h:1116
iterator lower_bound(const T &value) FL_NO_EXCEPT
Definition vector.h:1050

References end(), fl::FL_NO_EXCEPT, 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: