@disable

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jan 14 17:26:57 PST 2010


Leandro Lucarella wrote:
> Pelle Månsson, el 14 de enero a las 19:30 me escribiste:
>> On 01/14/2010 03:55 PM, Leandro Lucarella wrote:
>>> What is @disable supposed to be for?
>>> http://www.dsource.org/projects/dmd/changeset/336
>>>
>>> Thanks.
>>>
>> #define STCdisable       0x2000000000LL // for functions that are
>> not callable
> 
> Yes, I can read, but I wondered what's the point on making a function
> non-callable. It's absolutely contradictory! :)
> 
> Now I see it's intended only for compiler generated methods, and I think
> it's a seriously flawled feature.

Why?

Andrei



More information about the Digitalmars-d mailing list