FastLED 3.10.8
Loading...
Searching...
No Matches

◆ erase()

template<typename Key, typename Value, fl::size N>
fl::size fl::unsorted_map_fixed< Key, Value, N >::erase ( const Key & key)
inline

Definition at line 260 of file map.h.

260 {
261 iterator it = find(key);
262 if (it != end()) {
263 data.erase(it);
264 return 1;
265 }
266 return 0;
267 }
iterator find(const Key &key) FL_NO_EXCEPT
Definition map.h:40
VectorType::iterator iterator
Definition map.h:29
VectorType data
Definition map.h:270
iterator end() FL_NO_EXCEPT
Definition map.h:36

References data, end(), find(), and fl::FL_NO_EXCEPT.

+ Here is the call graph for this function: