Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor > Class Template Reference
[Teuchos Memory Management Utilities]

Deallocator subclass that Allows any functor object (including a function pointer) to be used to free a handle (i.e. pointer to pointer) to an object. More...

#include <Teuchos_RefCountPtrDecl.hpp>

List of all members.

Related Functions

(Note that these are not member functions.)

DeallocFunctorHandleDelete<
T, DeleteHandleFunctor > 
deallocFunctorHandleDelete (DeleteHandleFunctor deleteHandleFunctor)
 A simple function used to create a functor deallocator object.


Detailed Description

template<class T, class DeleteHandleFunctor>
class Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor >

Deallocator subclass that Allows any functor object (including a function pointer) to be used to free a handle (i.e. pointer to pointer) to an 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 686 of file Teuchos_RefCountPtrDecl.hpp.


Friends And Related Function Documentation

template<class T, class DeleteHandleFunctor>
DeallocFunctorHandleDelete< T, DeleteHandleFunctor > deallocFunctorHandleDelete DeleteHandleFunctor  deleteHandleFunctor  )  [related]
 

A simple function used to create a functor deallocator object.

Definition at line 703 of file Teuchos_RefCountPtrDecl.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1