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

◆ operator=() [2/3]

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

Definition at line 72 of file ptr_impl.h.

72 {
73 if (this != &other) {
74 if (referent_ && isOwned()) {
75 referent_->unref();
76 }
78 other.referent_ = nullptr;
79 }
80 return *this;
81}
T * referent_
Definition ptr.h:184
bool isOwned() const
Definition ptr.h:180
Definition ptr.h:114

References Ptr(), isOwned(), and referent_.

+ Here is the call graph for this function: