Thread-Safe reference counting smart-pointers.
Files "GSmartPointer.h" and "GSmartPointer.cpp" define a smart-pointer class which automatically performs thread-safe reference counting. Class GP implements smart-pointers by overloading the usual pointer assignment and dereferencing operators. The overloaded operators maintain the reference counters and destroy the pointed objects as soon as their reference counter reaches zero. Transparent type conversions are provided between smart-pointers and regular pointers. Objects referenced by smart-pointers must be derived from class GPEnabled.
Alphabetic index Hierarchy of classes