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

◆ operator=() [3/5]

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

Definition at line 77 of file weak_ptr.h.

77 {
78 release();
79 mPtr = other.mPtr;
81 if (mControlBlock) {
82 ++mControlBlock->weak_count;
83 }
84 return *this;
85 }
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: