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

150 {
151 T *tmp = arr_;
152 arr_ = other.arr_;
153 other.arr_ = tmp;
154 }

References scoped_array(), and arr_.

+ Here is the call graph for this function: