Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members

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

◆ result_type

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

Definition at line 101 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ argument_type

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

Definition at line 103 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

◆ StdSharedPtrRCPDeleter()

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

Definition at line 99 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 105 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ ptr()

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: