()
Joined: 14 Sep 2004 Posts: 1
|
Posted: Tue Sep 14, 2004 11:54 am Post subject: Automatically deep copying objects? |
|
|
Is there any way to automatically deep copy objects in D, as with the Python "copy" module? Everything being passed around as references, its a PITA to explicitly copy everything (or am I missing something?).
Looking at the type information available in D, it doesn't look like it's possible to implement automatic copying in a library. I suppose this sort of thing would have to be implemented in the GC? |
|