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

Policy class for deallocator for non-owned RCPs. 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::DeallocNull< T >

Policy class for deallocator for non-owned RCPs.

Definition at line 875 of file Teuchos_RCPDecl.hpp.


Member Typedef Documentation

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

Gives the type (required).

Definition at line 879 of file Teuchos_RCPDecl.hpp.


Member Function Documentation

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

Deallocates a pointer ptr using delete ptr (required).

Definition at line 881 of file Teuchos_RCPDecl.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:24:43 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7