System::MemberwiseClone method
System::MemberwiseClone method
Performs memberwise cloning using copy constructor.
template<typename T> SmartPtr<Object> System::MemberwiseClone(T *ptr)
Parameter | Description |
---|---|
T | Class to be copy-constructed. Subclass information is being lost. |
Parameter | Type | Description |
---|---|---|
ptr | T * | Pointer to the object to clone. |
ReturnValue
Pointer to cloned object.
See Also
- Class SmartPtr
- Class Object
- Namespace System
- Library Aspose.Font for C++