weak_ptr< T > Class Template Reference

List of all members.

Public Member Functions

 weak_ptr ()
 weak_ptr (const shared_ptr< T > &s)
shared_ptr< T > lock () const
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 Attributes

T * ptr
unsigned * count

Friends

class shared_ptr< T >

Detailed Description

template<class T>
class weak_ptr< T >

Definition at line 72 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