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 199 of file ptr.h.

199 {
200 if (this != &other) {
201 if (referent_ && isOwned()) {
202 referent_->unref();
203 }
205 other.referent_ = nullptr;
206 }
207 return *this;
208 }
T * referent_
Definition ptr.h:258
bool isOwned() const
Definition ptr.h:250
Definition ptr.h:118

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

+ Here is the call graph for this function: