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

◆ erase() [1/2]

template<typename Key, size N>
bool fl::VectorSetFixed< Key, N >::erase ( const Key & key)
inline

Definition at line 100 of file set.h.

100 {
101 auto it = find(key);
102 if (it != end()) {
103 data.erase(it);
104 return true;
105 }
106 return false;
107 }
iterator end()
Definition set.h:40
VectorType data
Definition set.h:169
iterator find(const Key &key)
Definition set.h:44

References data, end(), and find().

+ Here is the call graph for this function: