FastLED
3.9.15
Loading...
Searching...
No Matches
◆
const_pointer_cast()
template<typename T, typename Y>
shared_ptr
< T > fl::const_pointer_cast
(
const
shared_ptr
< Y > &
other
)
noexcept
Definition at line
458
of file
shared_ptr.h
.
458
{
459
auto
ptr =
const_cast<
T*
>
(other.
get
());
460
return
shared_ptr<T>
(ptr, other.
control_block_
,
detail::make_shared_tag
{});
461
}
fl::shared_ptr::get
T * get() const noexcept
Definition
shared_ptr.h:271
fl::shared_ptr::control_block_
detail::ControlBlockBase * control_block_
Definition
shared_ptr.h:109
fl::shared_ptr
Definition
shared_ptr.h:106
fl::detail::make_shared_tag
Definition
shared_ptr.h:21
fl
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2