MemberwiseClone()
System::MemberwiseClone(T *) function
Performs memberwise cloning using copy constructor.
template<typename T> SmartPtr<Object> System::MemberwiseClone(T *ptr)
Template parameters
Parameter | Description |
---|---|
T | Class to be copy-constructed. Subclass information is being lost. |
Arguments
Parameter | Type | Description |
---|---|---|
ptr | T * | Pointer to the object to clone. |
Return Value
Pointer to cloned object.
See Also
- Class SmartPtr
- Class Object
- Namespace System
- Library Aspose.Slides