Intrusive_Auto_Ptr.h File Reference

#include "ace/Intrusive_Auto_Ptr.inl"
#include "ace/Intrusive_Auto_Ptr.cpp"
Include dependency graph for Intrusive_Auto_Ptr.h:
This graph shows which files directly or indirectly include 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)

Detailed Description

Id
Intrusive_Auto_Ptr.h 81388 2008-04-23 14:02:05Z johnnyw
Author:
Iliyan Jeliazkov <iliyan@ociweb.com>
Note:
Modeled on http://www.boost.org/boost/intrusive_ptr.hpp

Function Documentation

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 > &  a,
U *  b 
) [inline]
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== ( T *  a,
ACE_Intrusive_Auto_Ptr< U > const &  b 
) [inline]
template<class T , class U >
bool operator== ( ACE_Intrusive_Auto_Ptr< T > const &  a,
U *  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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Nov 30 00:48:39 2009 for ACE by  doxygen 1.6.1