The analogue of the std::default_delete.
More...
#include "utility.hpp"
Public Types | |
| using | value_type = typename std::decay< _T_ >::type |
Public Member Functions | |
| template<typename _U_ , typename = std::enable_if_t< std::is_convertible< _U_*, _T_* >::value >> | |
| default_delete (const default_delete< _U_ > &) noexcept | |
| void | operator() (value_type *_) const |
Static Public Member Functions | |
| static void | Delete (void *_) |
The analogue of the std::default_delete.
It also provides the static member function void Delete(void*) holding the proper delete operator for the type _T_. The client code then can store a pointer to this function being alike a pointer to the virtual delete operator for implementing the run-time data polymorphism.
Definition at line 29 of file utility.hpp.