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

◆ erase() [1/3]

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
size_type fl::unordered_map_small< Key, Value, Equal >::erase ( const Key & key)
inline

Definition at line 355 of file unordered_map_small.h.

355 {
357 if (idx != npos()) {
358 mOccupied.reset(idx);
359 --mSize;
360 return 1;
361 }
362 return 0;
363 }
static size_type npos() FL_NOEXCEPT
size_type find_index(const Key &key) const FL_NOEXCEPT

References find_index(), FL_NOEXCEPT, mOccupied, mSize, and npos().

+ Here is the call graph for this function: