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

◆ operator=() [2/3]

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

Definition at line 184 of file ptr.h.

184 {
185 if (this != &other) {
186 if (referent_ && isOwned()) {
187 referent_->unref();
188 }
190 other.referent_ = nullptr;
191 }
192 return *this;
193 }
T * referent_
Definition ptr.h:243
bool isOwned() const
Definition ptr.h:235
Definition ptr.h:102

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

+ Here is the call graph for this function: