#include <Teuchos_RCPDecl.hpp>
Public Types | |
typedef T | ptr_t |
Public Member Functions | |
DeallocFunctorHandleDelete (DeleteHandleFunctor deleteHandleFunctor) | |
void | free (T *ptr) |
Related Functions | |
(Note that these are not member functions.) | |
template<class T , class DeleteHandleFunctor > | |
DeallocFunctorHandleDelete< T, DeleteHandleFunctor > | deallocFunctorHandleDelete (DeleteHandleFunctor deleteHandleFunctor) |
A simple function used to create a functor deallocator object. |
Note, the only requirement is that deleteFuctor(ptrptr) can be called (which is true for a function pointer).
Note, a client should generally use the function deallocFunctorDelete()
to create this object and not try to construct it directly.
Definition at line 735 of file Teuchos_RCPDecl.hpp.
typedef T Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor >::ptr_t |
Definition at line 740 of file Teuchos_RCPDecl.hpp.
Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor >::DeallocFunctorHandleDelete | ( | DeleteHandleFunctor | deleteHandleFunctor | ) | [inline] |
Definition at line 738 of file Teuchos_RCPDecl.hpp.
void Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor >::free | ( | T * | ptr | ) | [inline] |
Definition at line 741 of file Teuchos_RCPDecl.hpp.
DeallocFunctorHandleDelete< T, DeleteHandleFunctor > deallocFunctorHandleDelete | ( | DeleteHandleFunctor | deleteHandleFunctor | ) | [related] |
A simple function used to create a functor deallocator object.
Definition at line 754 of file Teuchos_RCPDecl.hpp.