Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches

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 63 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Typedef Documentation

◆ result_type

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

Definition at line 69 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ argument_type

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

Definition at line 71 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

◆ StdSharedPtrRCPDeleter()

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

Definition at line 67 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 73 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ ptr()

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

Definition at line 75 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


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