FastLED 3.10.8
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 279 of file flat_set.h.

279 {
280 auto it = find(key);
281 if (it != end()) {
282 erase(it);
283 return 1;
284 }
285 return 0;
286 }
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: