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)
inlinenoexcept

Definition at line 76 of file weak_ptr.h.

76 {
77 release();
78 ptr_ = other.ptr_;
80 if (control_block_) {
81 ++control_block_->weak_count;
82 }
83 return *this;
84 }
detail::ControlBlockBase * control_block_
Definition weak_ptr.h:13
void release()
Definition weak_ptr.h:183

References weak_ptr, control_block_, ptr_, and release().

+ Here is the call graph for this function: