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

◆ operator=() [2/2]

template<typename T, typename Alloc = fl::allocator<T>>
scoped_array2 & fl::scoped_array2< T, Alloc >::operator= ( scoped_array2< T, Alloc > && other)
inlinenoexcept

Definition at line 133 of file scoped_array.h.

133 {
134 if (this != &other) {
135 reset();
136 arr_ = other.arr_;
137 size_ = other.size_;
138 other.arr_ = nullptr;
139 other.size_ = 0;
140 }
141 return *this;
142 }
void reset(fl::size_t new_size=0)

References scoped_array2(), arr_, reset(), and size_.

+ Here is the call graph for this function: