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

◆ erase() [1/2]

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

Definition at line 68 of file set.h.

68 {
69 auto it = find(key);
70 if (it != end()) {
71 data.erase(it);
72 return true;
73 }
74 return false;
75 }
iterator find(const Key &key)
Definition set.h:39
VectorType data
Definition set.h:150
iterator end()
Definition set.h:29

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

+ Here is the call graph for this function: