zorba::internal::ztd::destroy_delete#include <zorba/internal/ztd.h> A deleter class that can be used with unique_ptr. Instead of calling delete on the pointed-to object, it calls its destroy() member function.Public Functions
Public Functionsdestroy_delete destroy_delete()
destroy_delete destroy_delete(destroy_delete< U > const &, typename std::enable_if< ZORBA_TR1_NS::is_convertible< U *, T * >::value >::type *=nullptr) Copy constructor.
Parameters
operator()void operator()(T *p) Calls the destroy() member function of the pointed-to object.
Parameters
|