Deep copy or clone data structure (or object ?)

bearophile bearophileHUGS at lycos.com
Mon Dec 2 07:11:31 PST 2013


Dfr:

> I searched through various D documentation sources and did not 
> found anything except 'std.copy', but it's only for slices.
> Is there such feature in standart library ? Or some easy way to 
> clone for example map of slices of maps or an object with few 
> structs inside  ?

I think such functionality is not yet present in Phobos, probably 
because it's not a common need. What is your use case?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list