Fermat
Public Types | Public Methods | Friends | List of all members
cugar::WeakPointer< T, CounterT > Class Template Reference

Public Types

typedef T element_type
 
typedef internals::SharedCount< CounterT >::Counter_Type Counter_Type
 

Public Methods

template<typename U >
 WeakPointer (const WeakPointer< U > &other)
 
template<typename U >
 WeakPointer (const SharedPointer< U, CounterT > &other)
 
template<typename U >
WeakPointeroperator= (const WeakPointer< U > &other)
 
template<typename U >
WeakPointeroperator= (const SharedPointer< U > &other)
 
SharedPointer< element_type > lock () const
 
Counter_Type use_count () const
 
bool expired () const
 
void reset ()
 
void swap (WeakPointer &other)
 

Friends

template<typename U , typename UCounterT >
class SharedPointer
 
template<typename U , typename UCounterT >
class WeakPointer
 
template<typename U >
bool operator< (const WeakPointer &a, const WeakPointer< U > &b)
 

The documentation for this class was generated from the following file: