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

81 {
82 T *tmp = ptr_;
83 ptr_ = other.ptr_;
84 other.ptr_ = tmp;
85 }

References scoped_ptr(), and ptr_.

+ Here is the call graph for this function: