Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

counted< T > Class Template Reference

#include <counted.h>

List of all members.

Detailed Description

template<class T>
class counted< T >

A smart pointer with a link counter.

Definition at line 35 of file counted.h.

Public Member Functions

void allocate ()
bool allocated ()
void check () const
 counted (counted< T > &other)
 counted (const counted< T > &other)
void decref () const
void drop ()
void incref () const
 operator bool ()
 operator T & ()
 operator T * ()
T & operator* ()
void operator*= (const counted< T > &other)
void operator*= (counted< T > &other)
T * operator-> ()
void operator= (const counted< T > &other)
void operator= (counted< T > &other)

Private Attributes

TC * p


struct  TC

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

Generated by  Doxygen 1.6.0   Back to index