FastLED 3.9.15
Loading...
Searching...
No Matches

◆ make_shared

template<typename T>
template<typename Y, typename... Args>
shared_ptr< Y > make_shared ( Args &&... args)
friend

Definition at line 348 of file shared_ptr.h.

348 {
349 T* obj = new T(fl::forward<Args>(args)...);
351 //FASTLED_WARN("make_shared created object at " << obj
352 // << " with control block at " << control);
353 //new(control->get_object()) T(fl::forward<Args>(args)...);
354 //control->object_constructed = true;
356}
friend class shared_ptr
Definition shared_ptr.h:328

References shared_ptr, args, and fl::forward().