FastLED
3.9.15
Loading...
Searching...
No Matches
◆
make_shared_array
template<typename T>
template<typename Y>
shared_ptr
< Y > make_shared_array
(
size_t
n
)
friend
Definition at line
441
of file
shared_ptr.h
.
441
{
442
T
*
arr
=
new
T
[
n
]();
// Zero-initialize the array
443
auto
*
control
=
new
detail::ControlBlock<T, detail::array_delete<T>
>(
arr
,
detail::array_delete<T>
{});
444
return
shared_ptr<T>
(
arr
,
control
,
detail::make_shared_tag
{});
445
}
fl::shared_ptr::shared_ptr
friend class shared_ptr
Definition
shared_ptr.h:391
fl::shared_ptr
Definition
shared_ptr.h:155
fl
shared_ptr
Generated on Tue Jun 16 2026 00:07:06 for FastLED by
1.13.2