How to make a unique copy in a generic manner?

Jacob Carlborg doob at me.com
Mon Jul 16 12:22:14 PDT 2012


On 2012-07-16 20:48, Tommi wrote:
> How do you make a (deep) copy of a variable of any type?

One way would be to serialize a value and the deserialize it. Although 
that would not be very efficient.

https://github.com/jacob-carlborg/orange



-- 
/Jacob Carlborg




More information about the Digitalmars-d-learn mailing list