If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.2
ZThreads
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact

CountedPtr Class Template Reference

#include <CountedPtr.h>

List of all members.


Public Member Functions

 CountedPtr (T *raw)
template<typename U>
 CountedPtr (U *raw)
 CountedPtr (const CountedPtr &ptr)
template<typename U, typename V>
 CountedPtr (const CountedPtr< U, V > &ptr)
const CountedPtroperator= (const CountedPtr &ptr)
template<typename U, typename V>
const CountedPtroperator= (const CountedPtr< U, V > &ptr)
void reset ()
void swap (CountedPtr &ptr)
template<typename U, typename V>
void swap (CountedPtr< U, V > &ptr)
bool less (const CountedPtr &ptr) const
template<typename U, typename V>
bool less (const CountedPtr< U, V > &ptr) const
bool equal (const CountedPtr &ptr) const
template<typename U, typename V>
bool equal (const CountedPtr< U, V > &ptr) const
T & operator * ()
T * operator-> ()
const T * operator-> () const
bool operator! () const
 operator bool () const

Friends

class CountedPtr
bool operator== (const CountedPtr &lhs, const CountedPtr &rhs)
bool operator< (const CountedPtr &lhs, const CountedPtr &rhs)

Detailed Description

template<typename T, typename CountT = AtomicCount>
class ZThread::CountedPtr< T, CountT >

Author:
Eric Crahen <http://www.code-foo.com/>
Date:
<2003-07-29T06:43:48-0400>
Version:
2.3.0


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