25#define FASTLED_SMART_PTR_CONSTRUCTOR(type, constructor) \
26 template <> class PtrTraits<type> { \
27 public: \
28 template <typename... Args> static Ptr<type> New(Args... args) { \
29 fl::Ptr<type> ptr = constructor(args...); \
30 return ptr; \
31 } \
32 };