Public Member Functions | Private Attributes | List of all members
custom_unique_ptr< T > Class Template Reference

Public Member Functions

 custom_unique_ptr (T *p)
 
Tget () const
 
Trelease_ptr ()
 

Private Attributes

std::unique_ptr< Timpl
 

Detailed Description

template<typename T>
class custom_unique_ptr< T >

Definition at line 50 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

template<typename T >
custom_unique_ptr< T >::custom_unique_ptr ( T p)
inline

Definition at line 53 of file test_smart_ptr.cpp.

Member Function Documentation

template<typename T >
T* custom_unique_ptr< T >::get ( ) const
inline

Definition at line 54 of file test_smart_ptr.cpp.

template<typename T >
T* custom_unique_ptr< T >::release_ptr ( )
inline

Definition at line 55 of file test_smart_ptr.cpp.

Member Data Documentation

template<typename T >
std::unique_ptr<T> custom_unique_ptr< T >::impl
private

Definition at line 51 of file test_smart_ptr.cpp.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:47