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

Public Types

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

Public Methods

template<typename U >
 SharedPointer (U *p)
 
template<typename U , typename DeleterT >
 SharedPointer (U *p, DeleterT d)
 
template<typename U >
 SharedPointer (const SharedPointer< U > &other)
 
template<typename U >
 SharedPointer (const WeakPointer< U, CounterT > &other)
 
template<typename U >
 SharedPointer (const SharedPointer< U > &other, internals::static_cast_marker)
 
template<typename U >
 SharedPointer (const SharedPointer< U > &other, internals::const_cast_marker)
 
template<typename U >
 SharedPointer (const SharedPointer< U > &other, internals::dynamic_cast_marker)
 
template<typename U >
SharedPointeroperator= (const SharedPointer< U > &other)
 
template<typename U >
SharedPointeroperator= (U *p)
 
void reset ()
 
template<typename U >
void reset (U *p)
 
template<typename U , typename UDeleterT >
void reset (U *p, UDeleterT d)
 
_Reference operator* () const
 
element_type * operator-> () const
 
element_type * get () const
 
 operator BooleanType () const
 
bool unique () const
 
Counter_Type use_count () const
 
void swap (SharedPointer< element_type, CounterT > &other)
 
void * _M_get_deleter (const std::type_info &ti) const
 

Friends

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

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