FastLED 3.10.8
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 226 of file shared_ptr.h.

226 : mPtr(static_cast<T*>(other.mPtr)), mControlBlock(other.mControlBlock) {
227 other.mPtr = nullptr;
228 other.mControlBlock = nullptr;
229 }
detail::ControlBlockBase * mControlBlock
Definition shared_ptr.h:166