Function CSPPtr<T>::operator =() Description: Assigns pointer to the smart pointer object.
| Prototype: T* operator =(T* p); Arguments: T* p [IN] The pointer assigned to the smart pointer. Return value: Returns the contained pointer. Remarks: When a pointer is assigned, the object pointed by any previously contained pointer is deleted. Examples: CSPPtr<MyClass> sp; sp = new MyClass; See also: constructor CSPPtr( T* )
CSPPtr<T> | Template classes | Class Categories | Online help home | Back
www.micronovae.com Copyright © 2002 - 2004 Micronovae Ltd