Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Definition at line 78 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

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

Definition at line 76 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

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

Member Function Documentation

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

Definition at line 80 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

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

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: