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 = ()
CSPPtr<T> | Template classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd