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

◆ operator=() [4/4]

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

Definition at line 214 of file shared_ptr.h.

214 {
215 if (static_cast<void*>(this) != static_cast<void*>(&other)) {
216 this->swap(other);
217 other.reset();
218 }
219 return *this;
220 }
void reset() noexcept
Definition shared_ptr.h:223
void swap(shared_ptr &other) noexcept
Definition shared_ptr.h:246

References shared_ptr, and swap().

+ Here is the call graph for this function: