Pelle Månsson wrote:
On 01/14/2010 03:55 PM, Leandro Lucarella wrote:#define STCdisable 0x2000000000LL // for functions that are not callableWhat is @disable supposed to be for? http://www.dsource.org/projects/dmd/changeset/336Thanks.
The main idea is to allow creation of noncopyable types by marking this(this) as @disable.
Noncopyable types are pivotal for a number of idioms important in concurrency and elsewhere.
Andrei
