CountedPtr< T > Class Template Reference
[PEARL.base]

Non-intrusive reference-counted smart pointer.

#include <CountedPtr.h>

List of all members.

Public Types

typedef T element_type
 Type name for the counted value.

Public Member Functions

Constructors & destructor
 CountedPtr (T *ptr=0)
 CountedPtr (const CountedPtr &rhs) throw ()
 ~CountedPtr () throw ()
Initialization
void initialize (T *ptr)
Assignment operator
CountedPtroperator= (const CountedPtr &rhs) throw ()
Value access
T * get () const throw ()
T & operator* () const throw ()
T * operator-> () const throw ()

template<typename T>
class pearl::CountedPtr< T >


SCALASCA    Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre