Cloning in D

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Sep 6 14:00:26 PDT 2010


On 09/06/2010 02:56 PM, BLS wrote:
> On 06/09/2010 05:15, dsimcha wrote:
>> I've started playing around with Orange a little to see whether it
>> would meet
>> D's cloning needs.
>
> Clone respective member-wise clone ( I prefer copy and deep copy) should
> be part of object. no std._tricks period.

Though this might be the case in this particular instance, ideally a 
generally useful operation should be made available generically instead 
of encapsulated.

Andrei


More information about the Digitalmars-d mailing list