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

◆ operator=() [1/5]

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

Definition at line 88 of file weak_ptr.h.

88 {
89 release();
92 if (mControlBlock) {
93 ++mControlBlock->weak_count;
94 }
95 return *this;
96 }
detail::ControlBlockBase * mControlBlock
Definition weak_ptr.h:14
void release() FL_NOEXCEPT
Definition weak_ptr.h:184

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

+ Here is the call graph for this function: