FastLED 3.10.9
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 605 of file unordered_map.h.

605 {
606 // Swap all member variables
607 _buckets.swap(other._buckets);
615 }
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