shared_ptr< T > Class Template Reference

List of all members.

Public Member Functions

 shared_ptr ()
 ~shared_ptr ()
 shared_ptr (const shared_ptr< T > &o)
 shared_ptr (T *p)
 shared_ptr (const weak_ptr< T > &w)
shared_ptr< T > & operator= (const shared_ptr< T > &o)
T * get ()
T * operator-> ()
T & operator * ()
const T * get () const
const T * operator-> () const
const T & operator * () const
bool operator== (const shared_ptr< T > &o) const
bool operator!= (const shared_ptr< T > &o) const
bool operator< (const shared_ptr< T > &o) const
unsigned refcount () const

Private Member Functions

void decref ()
void incref ()

Static Private Member Functions

static unsigned * nil ()

Private Attributes

T * ptr
unsigned * count

Friends

class weak_ptr< T >

Detailed Description

template<class T>
class shared_ptr< T >

Definition at line 25 of file shared_ptr.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 11:02:34 2007 for EO by  doxygen 1.4.7