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

◆ swap()

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 >::swap ( unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT > & other)
inline

Definition at line 603 of file unordered_map.h.

603 {
604 // Swap all member variables
605 _buckets.swap(other._buckets);
613 }
fl::bitset< 1024 > _occupied
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
fl::bitset< 1024 > _deleted
enable_if_t< is_same< T, U >::value > swap(T &a, U &b) FL_NO_EXCEPT
Definition s16x16x4.h:889