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)
noexcept

Definition at line 464 of file shared_ptr.h.

464 {
465 auto ptr = fl::bit_cast<T*>(other.get());
467}
T * get() const noexcept
Definition shared_ptr.h:271
detail::ControlBlockBase * control_block_
Definition shared_ptr.h:109
To bit_cast(const From &from) noexcept
Definition bit_cast.h:39

References bit_cast().

+ Here is the call graph for this function: