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

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

Member Typedef Documentation

◆ ptr_t

Definition at line 78 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 76 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 80 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ ptr()

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

Definition at line 82 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


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