cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | List of all members
custom_unique_ptr< T > Class Template Reference

Public Member Functions

 custom_unique_ptr (T *p)
 
T * get () const
 
T * release_ptr ()
 

Detailed Description

template<typename T>
class custom_unique_ptr< T >

Definition at line 50 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

◆ custom_unique_ptr()

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

◆ get()

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

Definition at line 54 of file test_smart_ptr.cpp.

◆ release_ptr()

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

Definition at line 55 of file test_smart_ptr.cpp.


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