On Fri, 17 Oct 2014 19:39:39 +0000
IgorStepanov via Digitalmars-d <[email protected]> wrote:

> Thus I suggest another solution:
> Do not generate helper functions like __fieldPostBlit, if struct 
> has a @disabled this(this);
> Destroy it.
`@disable this (this);` means that struct can't be copied. it's
irrelevant what code compiler generates behind our backs, it will not
be executed anyway, 'cause compiler will complain: "Error: struct XXX is
not copyable because it is annotated with @disable".

Attachment: signature.asc
Description: PGP signature

Reply via email to