#include <tracked_ptr.hh>
Public Member Functions | |
operator bool () const | |
Coercion towards Boolean (for arithmetical tests). | |
bool | operator! () const |
Negation (for arithmetical tests). | |
T * | operator-> () |
Mimics the behavior of op-> for a pointer in the mutable case. | |
const T * | operator-> () const |
Mimics the behavior of op-> for a pointer in the const case. | |
tracked_ptr< T > & | operator= (T *ptr) |
Assignment. | |
tracked_ptr< T > & | operator= (const tracked_ptr< T > &rhs) |
Assignment. | |
~tracked_ptr () | |
Destructor. | |
tracked_ptr (const tracked_ptr< T > &rhs) | |
Copy constructor. | |
tracked_ptr () | |
Constructors. |
mln::util::tracked_ptr< T >::tracked_ptr | ( | ) | [inline] |
Constructors.
mln::util::tracked_ptr< T >::tracked_ptr | ( | const tracked_ptr< T > & | rhs | ) | [inline] |
Copy constructor.
mln::util::tracked_ptr< T >::~tracked_ptr | ( | ) | [inline] |
Destructor.
mln::util::tracked_ptr< T >::operator bool | ( | ) | const [inline] |
Coercion towards Boolean (for arithmetical tests).
bool mln::util::tracked_ptr< T >::operator! | ( | ) | const [inline] |
Negation (for arithmetical tests).
T * mln::util::tracked_ptr< T >::operator-> | ( | ) | [inline] |
Mimics the behavior of op-> for a pointer in the mutable case.
const T * mln::util::tracked_ptr< T >::operator-> | ( | ) | const [inline] |
Mimics the behavior of op-> for a pointer in the const case.
tracked_ptr< T > & mln::util::tracked_ptr< T >::operator= | ( | T * | ptr | ) | [inline] |
Assignment.
tracked_ptr< T > & mln::util::tracked_ptr< T >::operator= | ( | const tracked_ptr< T > & | rhs | ) | [inline] |
Assignment.