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

◆ remove()

template<typename T>
void fl::list< T >::remove ( const T & value)
inline

Definition at line 445 of file list.h.

445 {
446 iterator it = begin();
447 while (it != end()) {
448 if (*it == value) {
449 it = erase(it);
450 } else {
451 ++it;
452 }
453 }
454 }
iterator end()
Definition list.h:281
iterator erase(iterator pos)
Definition list.h:352
iterator begin()
Definition list.h:273
A doubly-linked list container.
Definition list.h:21

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

+ Here is the call graph for this function: