Teuchos::DeallocDelete< T > Class Template Reference
[Teuchos Memory Management Utilities]

Policy class for deallocator that uses delete to delete a pointer which is used by RCP. More...

#include <Teuchos_RCPDecl.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 >

Policy class for deallocator that uses delete to delete a pointer which is used by RCP.

Definition at line 944 of file Teuchos_RCPDecl.hpp.


Member Typedef Documentation

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

Gives the type (required).

Definition at line 948 of file Teuchos_RCPDecl.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 950 of file Teuchos_RCPDecl.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:47 2011 for Teuchos - Trilinos Tools Package by  doxygen 1.6.3