D struct copying is done by a bit-level copy of the source. A postblit - the closest we have to a struct copy constructor - is only run if you specify one yourself, i.e. there is no default one to disable.

Thanks John

Ok. Let me rephrase the question. I do not want to perform bit-wise copy of my struct, but I want to specify my own copy semantics. Is there a way?

Regards
Ritu

Reply via email to