Function CSPPtr<T>::Attach()

Description:
Attaches a pointer to the smart pointer.

Micronovae 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( CSPPtr<T>& spPtr ), Detach(), operator = ()
CSPPtr<T> | Template classes | Class Categories | Online help home | Back

Copyright © 2002 - 2006 Micronovae Ltd. - www.micronovae.com