Teuchos - Trilinos Tools Package Version of the Day
Related Functions
Teuchos::EmbeddedObjDealloc< T, Embedded, Dealloc > Class Template Reference

A deallocator class that wraps a simple value object and delegates to another deallocator object. More...

#include <Teuchos_RCPDecl.hpp>

List of all members.

Related Functions

(Note that these are not member functions.)

template<class T , class Embedded >
EmbeddedObjDealloc< T,
Embedded, DeallocDelete< T > > 
embeddedObjDeallocDelete (const Embedded &embedded, EPrePostDestruction prePostDestroy)
 Create a dealocator with an embedded object using delete.
template<class T , class Embedded >
EmbeddedObjDealloc< T,
Embedded, DeallocArrayDelete
< T > > 
embeddedObjDeallocArrayDelete (const Embedded &embedded, EPrePostDestruction prePostDestroy)
 Create a dealocator with an embedded object using delete [].

Detailed Description

template<class T, class Embedded, class Dealloc>
class Teuchos::EmbeddedObjDealloc< T, Embedded, Dealloc >

A deallocator class that wraps a simple value object and delegates to another deallocator object.

The type Embedded must be a true value object with a default constructor, a copy constructor, and an assignment operator.

Definition at line 1055 of file Teuchos_RCPDecl.hpp.


Friends And Related Function Documentation

template<class T , class Embedded >
EmbeddedObjDealloc< T, Embedded, DeallocDelete< T > > embeddedObjDeallocDelete ( const Embedded &  embedded,
EPrePostDestruction  prePostDestroy 
) [related]

Create a dealocator with an embedded object using delete.

Definition at line 1089 of file Teuchos_RCPDecl.hpp.

template<class T , class Embedded >
EmbeddedObjDealloc< T, Embedded, DeallocArrayDelete< T > > embeddedObjDeallocArrayDelete ( const Embedded &  embedded,
EPrePostDestruction  prePostDestroy 
) [related]

Create a dealocator with an embedded object using delete [].

Definition at line 1102 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