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

◆ erase() [2/3]

template<typename Key, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>>
iterator fl::unordered_set< Key, Hash, KeyEqual >::erase ( const_iterator pos)
inline

Definition at line 133 of file unordered_set.h.

133 {
134 // Extract the key from the const_iterator before erasing
135 Key key = *pos;
136 data.erase(key);
137 // Find the next element after erasing
138 return find(key);
139 }
fl::unordered_map< Key, bool, Hash, KeyEqual > data
iterator find(const Key &key)

References data, find(), and pos.

+ Here is the call graph for this function: