FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator=() [2/2]

template<typename T, fl::size INLINED_SIZE>
InlinedVector & fl::InlinedVector< T, INLINED_SIZE >::operator= ( InlinedVector< T, INLINED_SIZE > && other)
inline

Definition at line 940 of file vector.h.

940 {
941 this->clear();
942 if (this != &other) {
943 if (other.mUsingHeap) {
944 mHeap.swap(other.mHeap);
945 mUsingHeap = true;
946 } else {
947 mFixed.swap(other.mFixed);
948 mUsingHeap = false;
949 }
950 other.clear();
951 }
952 return *this;
953 }
HeapVector< T > mHeap
Definition vector.h:1211
FixedVector< T, INLINED_SIZE > mFixed
Definition vector.h:1210

References InlinedVector(), fl::clear(), mFixed, mHeap, and mUsingHeap.

+ Here is the call graph for this function: