FastLED
3.10.9
Loading...
Searching...
No Matches
◆
operator=()
[3/3]
template<typename
Key
, typename T, typename
Hash
= Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
unordered_map
&
fl::unordered_map
<
Key
, T,
Hash
, KeyEqual, INLINED_COUNT >::operator=
(
unordered_map
<
Key
, T,
Hash
, KeyEqual, INLINED_COUNT > &&
other
)
inline
Definition at line
159
of file
unordered_map.h
.
159
{
160
if
(
this
!= &
other
) {
161
_buckets
=
fl::move
(
other
.
_buckets
);
162
_size
=
other
.
_size
;
163
_tombstones
=
other
.
_tombstones
;
164
mLoadFactor
=
other
.
mLoadFactor
;
165
_occupied
=
fl::move
(
other
.
_occupied
);
166
_deleted
=
fl::move
(
other
.
_deleted
);
167
_hash
=
fl::move
(
other
.
_hash
);
168
_equal
=
fl::move
(
other
.
_equal
);
169
170
// Reset other to valid empty state
171
other
.
_size
= 0;
172
other
.
_tombstones
= 0;
173
}
174
return
*
this
;
175
}
fl::unordered_map::_hash
Hash _hash
Definition
unordered_map.h:1084
fl::unordered_map::_occupied
fl::bitset< 1024 > _occupied
Definition
unordered_map.h:1082
fl::unordered_map::mLoadFactor
u8 mLoadFactor
Definition
unordered_map.h:1081
fl::unordered_map::_equal
KeyEqual _equal
Definition
unordered_map.h:1085
fl::unordered_map::_buckets
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
Definition
unordered_map.h:1078
fl::unordered_map::_size
fl::size _size
Definition
unordered_map.h:1079
fl::unordered_map::_tombstones
fl::size _tombstones
Definition
unordered_map.h:1080
fl::unordered_map::_deleted
fl::bitset< 1024 > _deleted
Definition
unordered_map.h:1083
fl::unordered_map
Definition
unordered_map.h:61
fl::fl::adl_barrier::move
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition
s16x16x4.h:30
fl
unordered_map
Generated on Mon Nov 2 2026 09:25:25 for FastLED by
1.13.2