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
);
606
fl::swap
(
_size
,
other
.
_size
);
607
fl::swap
(
_tombstones
,
other
.
_tombstones
);
608
fl::swap
(
mLoadFactor
,
other
.
mLoadFactor
);
609
fl::swap
(
_occupied
,
other
.
_occupied
);
610
fl::swap
(
_deleted
,
other
.
_deleted
);
611
fl::swap
(
_hash
,
other
.
_hash
);
612
fl::swap
(
_equal
,
other
.
_equal
);
613
}
fl::unordered_map::_hash
Hash _hash
Definition
unordered_map.h:1051
fl::unordered_map::_occupied
fl::bitset< 1024 > _occupied
Definition
unordered_map.h:1049
fl::unordered_map::mLoadFactor
u8 mLoadFactor
Definition
unordered_map.h:1048
fl::unordered_map::_equal
KeyEqual _equal
Definition
unordered_map.h:1052
fl::unordered_map::_buckets
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
Definition
unordered_map.h:1045
fl::unordered_map::_size
fl::size _size
Definition
unordered_map.h:1046
fl::unordered_map::_tombstones
fl::size _tombstones
Definition
unordered_map.h:1047
fl::unordered_map::_deleted
fl::bitset< 1024 > _deleted
Definition
unordered_map.h:1050
fl::unordered_map
Definition
unordered_map.h:59
fl::fl::swap
enable_if_t< is_same< T, U >::value > swap(T &a, U &b) FL_NO_EXCEPT
Definition
s16x16x4.h:889
fl
unordered_map
Generated on Thu Oct 22 2026 05:46:10 for FastLED by
1.13.2