dbp::shared_ptr< T > Class Template Reference

Smart pointer with reference counting support. More...

#include <shared_ptr.h>

List of all members.

Public Member Functions

 shared_ptr ()
 Constructor.
 shared_ptr (T *data)
 Constructor.
 shared_ptr (const shared_ptr< T > &src)
 Copy constructor.
 ~shared_ptr ()
 Destructor.
shared_ptr< T > & operator= (const shared_ptr< T > &src)
 Assignment operator.
T * operator-> () const
 Dereference operator.
T & operator* () const
 Dereference operator.
bool operator< (const shared_ptr< T > &src) const
 Comparison operator.

Detailed Description

template<class T>
class dbp::shared_ptr< T >

Smart pointer with reference counting support.

This smart pointer template class is like std::auto_ptr class but with internal reference counting support. Its means that you can freely use this smart pointer in STL containers.


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

 
Support This Project
SourceForge.net Logo