FastLED 3.10.9
Loading...
Searching...
No Matches

◆ clear()

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
void fl::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT >::clear ( )
inline

Definition at line 597 of file unordered_map.h.

597 {
598 _buckets.assign(_buckets.size(), Entry{});
599 _occupied.reset();
600 _deleted.reset();
601 _size = _tombstones = 0;
602 }
fl::bitset< 1024 > _occupied
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
fl::bitset< 1024 > _deleted