Function CSPPtr<T>::Attach()
Description:
Attaches a pointer to the smart pointer.
 |
Prototype:
void Attach(T* p);
Arguments:
- T* p [IN]
The pointer to be attached to the smart pointer.
Return value:
No return value (void).
Remarks:
Any object pointed to by the previously contained pointer is deleted.
See also:
member function Attach( T* p ), Detach(), operator = ()
|
|