Intrusive_Auto_Ptr.inl File Reference

#include "ace/Guard_T.h"
#include "ace/Log_Msg.h"

Include dependency graph for Intrusive_Auto_Ptr.inl:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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


Function Documentation

template<class T, class U>
ACE_INLINE bool operator!= ( T *  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
)

Definition at line 141 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00142 {
00143     return a != b.get();
00144 }

template<class T, class U>
ACE_INLINE bool operator!= ( ACE_Intrusive_Auto_Ptr< T > &  a,
U *  b 
)

Definition at line 131 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00132 {
00133     return a.get() != b;
00134 }

template<class T, class U>
ACE_INLINE bool operator!= ( ACE_Intrusive_Auto_Ptr< T > const &  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
)

Inequality operator, which is the opposite of equality.

Definition at line 121 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00122 {
00123     return a.get() != b.get();
00124 }

template<class T, class U>
ACE_INLINE bool operator== ( T *  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
)

Definition at line 136 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00137 {
00138     return a == b.get();
00139 }

template<class T, class U>
ACE_INLINE bool operator== ( ACE_Intrusive_Auto_Ptr< T > const &  a,
U *  b 
)

Definition at line 126 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00127 {
00128     return a.get() == b;
00129 }

template<class T, class U>
ACE_INLINE bool operator== ( ACE_Intrusive_Auto_Ptr< T > const &  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
)

Note:
It also returns true if both objects have just been instantiated and not used yet.

Definition at line 115 of file Intrusive_Auto_Ptr.inl.

References ACE_Intrusive_Auto_Ptr< X >::get().

00116 {
00117     return a.get() == b.get();
00118 }


Generated on Tue Feb 2 17:23:02 2010 for ACE by  doxygen 1.4.7