How to implement a copy

Ali Çehreli acehreli at yahoo.com
Fri Mar 19 10:47:54 PDT 2010


� wrote:

> this(this) is the copy constructor, I think.

this(this) is not the copy constructor. It is post-blit, which is useful 
for when corrections need to be done after the automatic blitting:

   http://digitalmars.com/d/2.0/struct.html#StructPostblit

Ali


More information about the Digitalmars-d-learn mailing list