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

◆ erase() [1/4]

template<typename Key, typename Less = fl::less<Key>>
size_type fl::flat_set< Key, Less >::erase ( const Key & key)
inline

Definition at line 287 of file flat_set.h.

287 {
288 auto it = find(key);
289 if (it != end()) {
290 erase(it);
291 return 1;
292 }
293 return 0;
294 }
iterator erase(iterator pos)
Definition flat_set.h:257
iterator end()
Definition flat_set.h:76
iterator find(const Key &key)
Definition flat_set.h:94

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

+ Here is the call graph for this function: