ACE  6.1.0
Functions
Intrusive_Auto_Ptr.inl File Reference
#include "ace/Guard_T.h"
#include "ace/Log_Msg.h"

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)

Function Documentation

template<class T , class U >
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.

template<class T , class U >
bool operator!= ( ACE_Intrusive_Auto_Ptr< T > &  a,
U *  b 
) [inline]
template<class T , class U >
bool operator!= ( T *  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
) [inline]
template<class T , class U >
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.

Note:
It also returns true if both objects have just been instantiated and not used yet.
template<class T , class U >
bool operator== ( ACE_Intrusive_Auto_Ptr< T > const &  a,
U *  b 
) [inline]
template<class T , class U >
bool operator== ( T *  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines