MADNESS  version 0.9
Public Member Functions | Friends | List of all members
madness::tr1::shptr::detail::weak_count Class Reference

#include <shared_ptr_bits.h>

Public Member Functions

 weak_count ()
 
 weak_count (shared_count const &r)
 
 weak_count (weak_count const &r)
 
 ~weak_count ()
 
weak_countoperator= (shared_count const &r)
 
weak_countoperator= (weak_count const &r)
 
void swap (weak_count &r)
 
long use_count () const
 
bool empty () const
 

Friends

class shared_count
 
bool operator== (weak_count const &a, weak_count const &b)
 
bool operator< (weak_count const &a, weak_count const &b)
 

Constructor & Destructor Documentation

madness::tr1::shptr::detail::weak_count::weak_count ( )
inline
madness::tr1::shptr::detail::weak_count::weak_count ( shared_count const &  r)
inline
madness::tr1::shptr::detail::weak_count::weak_count ( weak_count const &  r)
inline
madness::tr1::shptr::detail::weak_count::~weak_count ( )
inline

Member Function Documentation

bool madness::tr1::shptr::detail::weak_count::empty ( ) const
inline
weak_count& madness::tr1::shptr::detail::weak_count::operator= ( shared_count const &  r)
inline
weak_count& madness::tr1::shptr::detail::weak_count::operator= ( weak_count const &  r)
inline
void madness::tr1::shptr::detail::weak_count::swap ( weak_count r)
inline
long madness::tr1::shptr::detail::weak_count::use_count ( ) const
inline

Friends And Related Function Documentation

bool operator< ( weak_count const &  a,
weak_count const &  b 
)
friend
bool operator== ( weak_count const &  a,
weak_count const &  b 
)
friend
friend class shared_count
friend

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