Constructors (starstruck noob from C++)

bearophile bearophileHUGS at lycos.com
Fri Jan 21 04:29:18 PST 2011


spir:

> > It's a shame we can't use .dup. It would look really nice in code.
> 
> +++

Copying classes is not a so common need in D. As an example, I need a byPair() method for AAs more than dup for classes :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list