Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
Teuchos::StdSharedPtrRCPDeleter< T > Class Template Reference

std::shared_ptr deleter class that wraps a Teuchos::RCP. More...

#include <Teuchos_RCPStdSharedPtrConversionsDecl.hpp>

Public Types

typedef void result_type
 
typedef T * argument_type
 

Public Member Functions

 StdSharedPtrRCPDeleter (const RCP< T > &rcp)
 
void operator() (T *x) const
 
const RCP< T > & ptr () const
 

Detailed Description

template<class T>
class Teuchos::StdSharedPtrRCPDeleter< T >

std::shared_ptr deleter class that wraps a Teuchos::RCP.

Definition at line 95 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Typedef Documentation

template<class T >
typedef void Teuchos::StdSharedPtrRCPDeleter< T >::result_type

Definition at line 101 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

template<class T >
typedef T* Teuchos::StdSharedPtrRCPDeleter< T >::argument_type

Definition at line 103 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

template<class T >
Teuchos::StdSharedPtrRCPDeleter< T >::StdSharedPtrRCPDeleter ( const RCP< T > &  rcp)
inline

Definition at line 99 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Function Documentation

template<class T >
void Teuchos::StdSharedPtrRCPDeleter< T >::operator() ( T *  x) const
inline

Definition at line 105 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

template<class T >
const RCP<T>& Teuchos::StdSharedPtrRCPDeleter< T >::ptr ( ) const
inline

Definition at line 107 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


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