43#define FASTLED_SMART_PTR_CONSTRUCTOR(type, constructor) \
44 template <> class PtrTraits<type> { \
45 public: \
46 template <typename... Args> static Ptr<type> New(Args... args) { \
47 fl::Ptr<type> ptr = constructor(args...); \
48 return ptr; \
49 } \
50 };