Function CSPPtr<T>::New()
Description:
Creates a new object of type T points the contained pointer to it. The content of another T object is copied to the newly created object.
 |
Prototype:
void New(const T& Obj);
Arguments:
- const T& Obj [IN]
The T object whose content to be copied to the newly created object.
Return value:
No return value (void).
Examples:
CSPPtr<char> sp; char ch = 'a';
sp.New( ch );
See also:
member functions New(), Free()
|
|