FastLED
3.9.15
Loading...
Searching...
No Matches
◆
make_shared_with_deleter
template<typename T>
template<typename Y, typename Deleter, typename... Args>
shared_ptr
< Y > make_shared_with_deleter
(
Deleter
d
,
Args &&...
args
)
friend
Definition at line
423
of file
shared_ptr.h
.
423
{
424
T
*
obj
=
new
T
(
fl::forward<Args>
(
args
)...);
425
auto
*
control
=
new
detail::ControlBlock<T, Deleter>
(
obj
,
d
);
426
//new(control->get_object()) T(fl::forward<Args>(args)...);
427
//control->object_constructed = true;
428
return
shared_ptr<T>
(
obj
,
control
,
detail::make_shared_tag
{});
429
}
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