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

◆ reinterpret_pointer_cast()

template<typename T, typename Y>
shared_ptr< T > fl::reinterpret_pointer_cast ( const shared_ptr< Y > & other)

Definition at line 524 of file shared_ptr.h.

524 {
525 return shared_ptr<T>(other, fl::bit_cast<T*>(other.get()));
526}
T * get() const FL_NOEXCEPT
Definition shared_ptr.h:334
To bit_cast(const From &from) FL_NOEXCEPT
Definition bit_cast.h:48

References bit_cast(), and FL_NOEXCEPT.

+ Here is the call graph for this function: