libhatchet
Loading...
Searching...
No Matches
hxdefault_delete Class Reference

#include <hxmemory_manager.h>

Public Member Functions

template<typename T>
void operator() (T *t_) const
 operator bool (void) const

Detailed Description

hxdefault_delete - A callable that deletes objects of type T using hxdelete.

Used by containers to implement the destruction of their contents according to a template parameter. Implements std::default_delete.

Member Function Documentation

◆ operator bool()

hxdefault_delete::operator bool ( void ) const
inline

Always returns true, indicating the deleter is valid.

◆ operator()()

template<typename T>
void hxdefault_delete::operator() ( T * t_) const
inline

Deletes the object using hxdelete.


The documentation for this class was generated from the following file: