stddefaultdeleteT
stddefaultdeleteT is not a term defined in the C++ standard library. It appears to be a misnomer or a shorthand that conflates std::default_delete<T>, the default deleter used by smart pointers, with the idea of an alias such as std::default_delete_t<T> found in some codebases or proposals. The standard library’s own naming is std::default_delete<T> (and a specialized form for arrays, std::default_delete<T[]>).
std::default_delete<T> is a function object used as the default deleter for smart pointers such as std::unique_ptr.
Some libraries or discussions introduce a type alias named std::default_delete_t<T> to simplify template parameters by equating
In practice, the default deleter is used implicitly by std::unique_ptr unless a custom deleter is supplied. Users
---