FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator=()
[2/2]
template<typename T, typename Allocator = fl::allocator<T>>
deque
&
fl::deque
< T, Allocator >::operator=
(
deque
< T, Allocator > &&
other
)
inline
Definition at line
198
of file
deque.h
.
198
{
199
if
(
this
!= &
other
) {
200
clear
();
201
if
(
mData
) {
202
mAlloc
.deallocate(
mData
,
mCapacity
);
203
}
204
205
mData
=
other
.
mData
;
206
mCapacity
=
other
.
mCapacity
;
207
mSize
=
other
.
mSize
;
208
mFront
=
other
.
mFront
;
209
mAlloc
=
other
.
mAlloc
;
210
211
other
.
mData
=
nullptr
;
212
other
.
mCapacity
= 0;
213
other
.
mSize
= 0;
214
other
.
mFront
= 0;
215
}
216
return
*
this
;
217
}
fl::deque::clear
void clear()
Definition
deque.h:292
fl::deque::mData
T * mData
Definition
deque.h:19
fl::deque::mFront
fl::size mFront
Definition
deque.h:22
fl::deque::mCapacity
fl::size mCapacity
Definition
deque.h:20
fl::deque::mSize
fl::size mSize
Definition
deque.h:21
fl::deque::mAlloc
Allocator mAlloc
Definition
deque.h:23
fl::deque
Definition
deque.h:17
fl
deque
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2