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

◆ operator=() [2/2]

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

Definition at line 798 of file vector.h.

798 {
799 this->clear();
800 if (this != &other) {
801 if (other.mUsingHeap) {
802 mHeap.swap(other.mHeap);
803 mUsingHeap = true;
804 } else {
805 mFixed.swap(other.mFixed);
806 mUsingHeap = false;
807 }
808 other.clear();
809 }
810 return *this;
811 }
HeapVector< T > mHeap
Definition vector.h:1025
FixedVector< T, INLINED_SIZE > mFixed
Definition vector.h:1024

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

+ Here is the call graph for this function: