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

◆ swap()

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

Definition at line 84 of file scoped_ptr.h.

84 {
85 T *tmp = ptr_;
86 ptr_ = other.ptr_;
87 other.ptr_ = tmp;
88 }

References scoped_ptr(), and ptr_.

+ Here is the call graph for this function: