FastLED 3.9.15
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::HashMap< Key, T, Hash, KeyEqual, INLINED_COUNT >::clear ( )
inline

Definition at line 321 of file hash_map.h.

321 {
322 _buckets.assign(_buckets.size(), Entry{});
323 _occupied.reset();
324 _deleted.reset();
325 _size = _tombstones = 0;
326 }
fl::size _size
Definition hash_map.h:702
fl::bitset< 1024 > _deleted
Definition hash_map.h:706
fl::bitset< 1024 > _occupied
Definition hash_map.h:705
fl::size _tombstones
Definition hash_map.h:703
FL_DISABLE_WARNING_POP fl::vector_inlined< Entry, INLINED_COUNT > _buckets
Definition hash_map.h:701
Definition hash_map.h:436