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 102 of file set.h.

102 {
103 auto it = find(key);
104 if (it != end()) {
105 data.erase(it);
106 return true;
107 }
108 return false;
109 }
iterator end()
Definition set.h:42
VectorType data
Definition set.h:201
iterator find(const Key &key)
Definition set.h:46

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

+ Here is the call graph for this function: