Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Related Functions | List of all members
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>

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. More...
 
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 []. More...
 

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 1113 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 1147 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 1160 of file Teuchos_RCPDecl.hpp.


The documentation for this class was generated from the following file: