@disable
Leandro Lucarella
llucax at gmail.com
Thu Jan 14 16:36:24 PST 2010
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.
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Tired of lying in the sunshine staying home to watch the rain.
You are young and life is long and there is time to kill today.
And then one day you find ten years have got behind you.
No one told you when to run, you missed the starting gun.
More information about the Digitalmars-d
mailing list