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

◆ erase() [1/2]

template<typename Key>
bool fl::VectorSet< Key >::erase ( const Key & key)
inline

Definition at line 295 of file set.h.

295 {
296 auto it = find(key);
297 if (it != end()) {
298 data.erase(it);
299 return true;
300 }
301 return false;
302 }
VectorType data
Definition set.h:362
iterator find(const Key &key)
Definition set.h:245
iterator end()
Definition set.h:238

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

+ Here is the call graph for this function: