Qt/C++ SmartPointer Leave a reply С++ without new and delete, 2015 std::shared_ptr, 2016 A tale of two allocations : make_shared and shared_ptr std::shared_ptr initialization: make_shared() vs shared_ptr(new Foo) Qt::make_shared for creating QSharedPtr as std::make_shared for creating std::shared_ptr