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 CountedPtr & | operator= (const CountedPtr &ptr) |
template<typename U, typename V> const CountedPtr & | operator= (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: