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

◆ operator=() [2/5]

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

Definition at line 63 of file weak_ptr.h.

63 {
64 if (this != &other) {
65 release();
66 ptr_ = other.ptr_;
68 if (control_block_) {
69 ++control_block_->weak_count;
70 }
71 }
72 return *this;
73 }
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: