Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | 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
 

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.

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.


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