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

◆ erase() [4/4]

template<typename Key, typename Less = fl::less<Key>>
iterator fl::flat_set< Key, Less >::erase ( iterator pos)
inline

Definition at line 257 of file flat_set.h.

257 {
258 // Vector erase() returns iterator in some versions, bool in others
259 // To be safe, erase and return the next element
260 iterator next = pos + 1;
261 mData.erase(pos);
262 return next;
263 }
vector_type mData
Definition flat_set.h:44
typename vector_type::iterator iterator
Definition flat_set.h:38

References mData, and pos.

Referenced by erase().

+ Here is the caller graph for this function: