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

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

#include <Teuchos_RCPStdSharedPtrConversionsDecl.hpp>

Public Types

typedef T ptr_t

Public Member Functions

 DeallocStdSharedPtr (const std::shared_ptr< T > &sptr)
void free (T *ptr_in) const
const std::shared_ptr< T > & ptr () const

Detailed Description

template<class T>
class Teuchos::DeallocStdSharedPtr< T >

Teuchos::RCP Deallocator class that wraps a std::shared_ptr

Definition at line 40 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Typedef Documentation

◆ ptr_t

template<class T>
typedef T Teuchos::DeallocStdSharedPtr< T >::ptr_t

Definition at line 46 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

◆ DeallocStdSharedPtr()

template<class T>
Teuchos::DeallocStdSharedPtr< T >::DeallocStdSharedPtr ( const std::shared_ptr< T > & sptr)
inline

Definition at line 44 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Function Documentation

◆ free()

template<class T>
void Teuchos::DeallocStdSharedPtr< T >::free ( T * ptr_in) const
inline

Definition at line 48 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ ptr()

template<class T>
const std::shared_ptr< T > & Teuchos::DeallocStdSharedPtr< T >::ptr ( ) const
inline

Definition at line 50 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


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