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

Public Member Functions

 shared_ptr_with_addressof_operator ()=default
 
 shared_ptr_with_addressof_operator (T *p)
 
T * get () const
 
T ** operator& ()
 

Detailed Description

template<typename T>
class shared_ptr_with_addressof_operator< T >

Definition at line 63 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

◆ shared_ptr_with_addressof_operator() [1/2]

◆ shared_ptr_with_addressof_operator() [2/2]

template<typename T >
shared_ptr_with_addressof_operator< T >::shared_ptr_with_addressof_operator ( T *  p)
inline

Definition at line 67 of file test_smart_ptr.cpp.

Member Function Documentation

◆ get()

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

Definition at line 68 of file test_smart_ptr.cpp.

◆ operator&()

template<typename T >
T** shared_ptr_with_addressof_operator< T >::operator& ( )
inline

Definition at line 69 of file test_smart_ptr.cpp.


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