Class CSPPtr<T> Description This template class works a smart pointer, preventing the code from memory leaks and other misbehaviors.
| Member functions: Attach(CSPPtr<T>& sp) Attach(T* p) CSPPtr(T* p) CSPPtr() Detach() Free() New(const T& Obj) New() operator !() operator !=(const T* p) operator &() operator *() operator =(T* p) operator ==(const T* p) operator ->() operator T*() Remarks: When the a CSPPtr<T> object is destroyed, the object pointed to by the contained pointer is automatically deleted. See also: class CSPArray<T>
Template classes | Class Categories | Online help home | Back
www.micronovae.com Copyright © 2002 - 2004 Micronovae Ltd