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

◆ find() [1/2]

template<typename T>
iterator fl::list< T >::find ( const T & value)
inline

Definition at line 608 of file list.h.

608 {
609 for (iterator it = begin(); it != end(); ++it) {
610 if (*it == value) {
611 return it;
612 }
613 }
614 return end();
615 }
iterator end()
Definition list.h:281
iterator begin()
Definition list.h:273
A doubly-linked list container.
Definition list.h:21

References begin(), end(), and fl::type_rank< T >::value.

Referenced by has().

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