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

◆ shared_ptr() [8/12]

template<typename T>
template<typename Y, typename = typename fl::enable_if<fl::is_base_of<T, Y>::value>::type>
fl::shared_ptr< T >::shared_ptr ( shared_ptr< Y > && other)
inline

Definition at line 218 of file shared_ptr.h.

218 : mPtr(static_cast<T*>(other.mPtr)), mControlBlock(other.mControlBlock) {
219 other.mPtr = nullptr;
220 other.mControlBlock = nullptr;
221 }
detail::ControlBlockBase * mControlBlock
Definition shared_ptr.h:158