GPL_Reference

GPL_Reference

gpl

1998 12-05


CLASS

GPL_Reference - C++ base class for providing reference-counting.


SYNOPSIS

GPL_Reference provides reference-counting. Sub-classes are responsible for extending GPL_Reference::Rep, particularly the default and copy constructors and the destructor.


CONSTRUCTORS


OPERATORS


MEMBER FUNCTIONS


MACROS


GPL_UPCAST Declares a register variable of a base class and up-casts the pointer.
GPL_ENSURE Declares a register variable of a class derived from GPL_Reference::Rep after ensuring that the reference has a representation.