Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Teuchos::DeallocStdSharedPtr< T > Class Template Reference

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
 

Private Member Functions

 DeallocStdSharedPtr ()
 

Private Attributes

std::shared_ptr< T > sptr_
 

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

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

Definition at line 78 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

◆ DeallocStdSharedPtr() [1/2]

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

Definition at line 76 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

◆ DeallocStdSharedPtr() [2/2]

template<class T >
Teuchos::DeallocStdSharedPtr< T >::DeallocStdSharedPtr ( )
private

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.

Member Data Documentation

◆ sptr_

template<class T >
std::shared_ptr<T> Teuchos::DeallocStdSharedPtr< T >::sptr_
mutableprivate

Definition at line 84 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


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