Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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.
 
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 1125 of file Teuchos_RCPDecl.hpp.

Friends And Related Function Documentation

◆ embeddedObjDeallocDelete()

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 1159 of file Teuchos_RCPDecl.hpp.

◆ embeddedObjDeallocArrayDelete()

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 1172 of file Teuchos_RCPDecl.hpp.


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