FastLED 3.10.6
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 554 of file shared_ptr.h.

554 {
555 return shared_ptr<T>(other, fl::bit_cast<T*>(other.get()));
556}
T * get() const FL_NO_EXCEPT
Definition shared_ptr.h:334
To bit_cast(const From &from) FL_NO_EXCEPT
Definition bit_cast.h:48

References bit_cast(), and FL_NO_EXCEPT.

+ Here is the call graph for this function: