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

Definition at line 87 of file weak_ptr.h.

87 {
88 release();
91 if (control_block_) {
92 ++control_block_->weak_count;
93 }
94 return *this;
95 }
detail::ControlBlockBase * control_block_
Definition weak_ptr.h:13
void release()
Definition weak_ptr.h:183

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

+ Here is the call graph for this function: