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 212 of file scoped_ptr.h.

212 {
213 if (this != &other) {
214 reset();
215 arr_ = other.arr_;
216 size_ = other.size_;
217 other.arr_ = nullptr;
218 other.size_ = 0;
219 }
220 return *this;
221 }
void reset(size_t new_size=0)
Definition scoped_ptr.h:239

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

+ Here is the call graph for this function: