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

◆ erase() [3/4]

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

Definition at line 342 of file flat_map.h.

342 {
343 // Convert const_iterator to iterator and erase
344 iterator it = const_cast<iterator>(pos);
345 iterator next = it + 1;
346 mData.erase(it);
347 return next;
348 }
typename vector_type::iterator iterator
Definition flat_map.h:45
bool next(const Key &key, Key *next_key, bool allow_rollover=false) const FL_NOEXCEPT
Definition flat_map.h:466
vector_type mData
Definition flat_map.h:51