Teuchos::DeallocDelete< T > Class Template Reference
[Reference counting smart pointer class for automatic garbage collection.]

Deallocator for new which calls delete. More...

#include <Teuchos_RefCountPtrDecl.hpp>

List of all members.

Public Types

typedef T ptr_t
 Gives the type (required).

Public Member Functions

void free (T *ptr)
 Deallocates a pointer ptr using delete ptr (required).


Detailed Description

template<class T>
class Teuchos::DeallocDelete< T >

Deallocator for new which calls delete.
Examples:

test/RefCountPtr/cxx_main.cpp.

Definition at line 403 of file Teuchos_RefCountPtrDecl.hpp.


Member Typedef Documentation

template<class T>
typedef T Teuchos::DeallocDelete< T >::ptr_t
 

Gives the type (required).

Definition at line 407 of file Teuchos_RefCountPtrDecl.hpp.


Member Function Documentation

template<class T>
void Teuchos::DeallocDelete< T >::free T *  ptr  )  [inline]
 

Deallocates a pointer ptr using delete ptr (required).

Definition at line 409 of file Teuchos_RefCountPtrDecl.hpp.


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