Teuchos::DeallocArrayDelete< T > Class Template Reference

Deallocator class that uses delete [] to delete memory allocated uisng new []. 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::DeallocArrayDelete< T >

Deallocator class that uses delete [] to delete memory allocated uisng new [].

Definition at line 907 of file Teuchos_RCPDecl.hpp.


Member Typedef Documentation

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

Gives the type (required).

Definition at line 911 of file Teuchos_RCPDecl.hpp.


Member Function Documentation

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

Deallocates a pointer ptr using delete [] ptr (required).

Definition at line 913 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 Tue Oct 20 10:14:05 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1