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 844 of file vector.h.

844 {
845 this->clear();
846 if (this != &other) {
847 if (other.mUsingHeap) {
848 mHeap.swap(other.mHeap);
849 mUsingHeap = true;
850 } else {
851 mFixed.swap(other.mFixed);
852 mUsingHeap = false;
853 }
854 other.clear();
855 }
856 return *this;
857 }
HeapVector< T > mHeap
Definition vector.h:1071
FixedVector< T, INLINED_SIZE > mFixed
Definition vector.h:1070

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

+ Here is the call graph for this function: