@disable

Clemens eriatarka84 at gmail.com
Fri Jan 15 00:59:48 PST 2010


Andrei Alexandrescu Wrote:

> The main idea is to allow creation of noncopyable types by marking 
> this(this) as @disable.

I must be missing something, but isn't this usually done by making the copy constructor private?



More information about the Digitalmars-d mailing list