CppGC  1.01
Public Member Functions
GC::Ref< T > Class Template Reference

#include <gc.h>

List of all members.

Public Member Functions

T & operator* ()
T const & operator* () const
T * operator-> ()
T const * operator-> () const
 operator T * ()
 operator T const * () const
T * operator= (T const *val)
bool operator== (T const *other)
bool operator== (Ref< T > const &other)
bool operator!= (T const *other)
bool operator!= (Ref< T > const &other)
 Ref (T const *ptr=NULL)
 Ref (Ref< T > const &ref)

Detailed Description

template<class T>
class GC::Ref< T >

Smart pointer class. This class is used to implicitly mark accessible objects. You should use this class instead of normal C++ pointers and references in all garbage collected classes


Constructor & Destructor Documentation

template<class T>
GC::Ref< T >::Ref ( Ref< T > const &  ref) [inline]

Copy constructor marks referenced objects using current allocator (if any)


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