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