stddefaultdelete
Stddefaultdelete is not a standard library term; the standard name is std::default_delete. It is a function-object deleter provided by the C++ standard library for use with smart pointers, most notably std::unique_ptr. std::default_delete defines how memory is released when a pointer is no longer needed.
The primary form is a class template in the header <memory>. For a non-array type T, default_delete
In practice, std::default_delete is the default deleter used by std::unique_ptr when no custom deleter is provided.
Custom deleters can be any callable object, including function pointers or stateful functors, allowing developers to
Historically, std::default_delete has been part of C++11 and remains a standard means of defining default destruction