Page MenuHomeFeedback Tracker

Add Managed::DeepClone()
Closed, ResolvedPublic

Description

The Managed::Clone method is already very useful, however, I would like to be able to create a full deep copy of my data. I have instances that I stored internally in my framework code which shall not be modified from outside code, so I only want to return copies of them. Right now I need to resort to the slow in-comparison JSON serializer to create true deep copies.

So please add Managed::DeepClone() or add a parameter to the existing clone method to decide if it is a flat or deep copy.

Details

Severity
Major
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

Arkensor created this task.Jul 17 2023, 4:49 PM
Geez changed the task status from New to Assigned.Jul 20 2023, 5:16 PM
Geez closed this task as Resolved.Aug 14 2023, 10:40 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello Arkensor.
The devs do not plan to add this.