#include "ace/Auto_Ptr.h"
#include "ace/Atomic_Op.h"
#include "ace/Intrusive_Auto_Ptr.inl"
#include "ace/Intrusive_Auto_Ptr.cpp"
Go to the source code of this file.
Classes | |
class | ACE_Intrusive_Auto_Ptr< X > |
This class implements support for a reference counted auto_ptr. It assumes reference counting abilities of the parameterizing class. More... | |
Functions | |
template<class T , class U > | |
bool | operator== (ACE_Intrusive_Auto_Ptr< T > const &a, ACE_Intrusive_Auto_Ptr< U > const &b) |
template<class T , class U > | |
bool | operator!= (ACE_Intrusive_Auto_Ptr< T > const &a, ACE_Intrusive_Auto_Ptr< U > const &b) |
Inequality operator, which is the opposite of equality. | |
template<class T , class U > | |
bool | operator== (ACE_Intrusive_Auto_Ptr< T > const &a, U *b) |
template<class T , class U > | |
bool | operator!= (ACE_Intrusive_Auto_Ptr< T > &a, U *b) |
template<class T , class U > | |
bool | operator== (T *a, ACE_Intrusive_Auto_Ptr< U > const &b) |
template<class T , class U > | |
bool | operator!= (T *a, ACE_Intrusive_Auto_Ptr< U > const &b) |
Definition in file Intrusive_Auto_Ptr.h.
bool operator!= | ( | ACE_Intrusive_Auto_Ptr< T > const & | a, | |
ACE_Intrusive_Auto_Ptr< U > const & | b | |||
) | [inline] |
Inequality operator, which is the opposite of equality.
Definition at line 121 of file Intrusive_Auto_Ptr.inl.
bool operator!= | ( | ACE_Intrusive_Auto_Ptr< T > & | a, | |
U * | b | |||
) | [inline] |
Definition at line 131 of file Intrusive_Auto_Ptr.inl.
{ return a.get() != b; }
bool operator!= | ( | T * | a, | |
ACE_Intrusive_Auto_Ptr< U > const & | b | |||
) | [inline] |
Definition at line 141 of file Intrusive_Auto_Ptr.inl.
{ return a != b.get(); }
bool operator== | ( | ACE_Intrusive_Auto_Ptr< T > const & | a, | |
ACE_Intrusive_Auto_Ptr< U > const & | b | |||
) | [inline] |
Equality operator that returns true
if both ACE_Intrusive_Auto_Ptr objects point to the same underlying representation. It does not compare the actual pointers.
true
if both objects have just been instantiated and not used yet. Definition at line 115 of file Intrusive_Auto_Ptr.inl.
bool operator== | ( | T * | a, | |
ACE_Intrusive_Auto_Ptr< U > const & | b | |||
) | [inline] |
Definition at line 136 of file Intrusive_Auto_Ptr.inl.
{ return a == b.get(); }
bool operator== | ( | ACE_Intrusive_Auto_Ptr< T > const & | a, | |
U * | b | |||
) | [inline] |
Definition at line 126 of file Intrusive_Auto_Ptr.inl.
{ return a.get() == b; }