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

59 {
60 auto it = find(key);
61 if (it != end()) {
62 data.erase(it);
63 return true;
64 }
65 return false;
66 }
iterator find(const Key &key)
Definition set.h:30
VectorType data
Definition set.h:128
iterator end()
Definition set.h:26

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

+ Here is the call graph for this function: