10#ifndef TEUCHOS_RCP_STD_SHAREDPTR_CONVERSIONS_DECL_HPP 
   11#define TEUCHOS_RCP_STD_SHAREDPTR_CONVERSIONS_DECL_HPP 
   50  const std::shared_ptr<T>& 
ptr()
 const { 
return sptr_; }
 
   52  mutable std::shared_ptr<T> sptr_;
 
 
  115template<
class T> 
inline 
  126template<
class T> 
inline 
Reference-counted pointer class and non-member templated function implementations.
 
Teuchos::RCP Deallocator class that wraps a std::shared_ptr
 
const std::shared_ptr< T > & ptr() const
 
void free(T *ptr_in) const
 
DeallocStdSharedPtr(const std::shared_ptr< T > &sptr)
 
Smart reference counting pointer class for automatic garbage collection.
 
RCP< T > rcp(const std::shared_ptr< T > &sptr)
Conversion function that takes in a std::shared_ptr object and spits out a Teuchos::RCP object.
 
std::shared_ptr< T > get_shared_ptr(const RCP< T > &rcp)
Conversion function that takes in a Teuchos::RCP object and spits out a std::shared_ptr object.
 
T * get() const
Get the raw C++ pointer to the underlying object.
 
std::shared_ptr deleter class that wraps a Teuchos::RCP.
 
void operator()(T *x) const
 
StdSharedPtrRCPDeleter(const RCP< T > &rcp)
 
const RCP< T > & ptr() const
 
bool is_null(const std::shared_ptr< T > &p)
Returns true if p.get()==NULL.
 
bool nonnull(const std::shared_ptr< T > &p)
Returns true if p.get()!=NULL.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.