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

◆ operator=() [4/5]

template<typename T>
weak_ptr & fl::weak_ptr< T >::operator= ( weak_ptr< T > && other)
inline

Definition at line 98 of file weak_ptr.h.

98 {
99 if (this != &other) {
100 release();
101 mPtr = other.mPtr;
103 other.mPtr = nullptr;
104 other.mControlBlock = nullptr;
105 }
106 return *this;
107 }
detail::ControlBlockBase * mControlBlock
Definition weak_ptr.h:14
void release() FL_NOEXCEPT
Definition weak_ptr.h:184

References weak_ptr, FL_NOEXCEPT, mControlBlock, mPtr, and release().

+ Here is the call graph for this function: