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

◆ swap()

template<typename T, typename Deleter = ArrayDeleter<T>>
void fl::scoped_array< T, Deleter >::swap ( scoped_array< T, Deleter > & other)
inlinenoexcept

Definition at line 159 of file scoped_ptr.h.

159 {
160 T *tmp = arr_;
161 arr_ = other.arr_;
162 other.arr_ = tmp;
163 }

References scoped_array(), and arr_.

+ Here is the call graph for this function: