DMD 1.025 and 2.009 releases
foobar
foobar at nomail.net
Sun Jan 13 12:41:32 PST 2008
Vladimir Panteleev Wrote:
> On Sun, 13 Jan 2008 21:47:36 +0200, foobar <foobar at nomail.net> wrote:
>
> > nice work !
> >
> > i am very curious what exactly has changed from 2.008 to 2.009 regarding the const/invariant stuff. what has changed in the behaviour of const and why is there enum as another way to manifest a constant ?
> >
> > where is the difference between
> > invariant int x = 3;
> > or
> > const int x = 3;
> > and
> > enum int x = 3;
> > ?
>
> Out of those three, here is only one way to declare a manifest constant - enum. The first two will take up space in the resulting binary.
>
> Also, sock puppetry is not nice (if you did that on purpose).
i am very sorry but i am not native in english and i really dont know what sock puppetry is. can explain that ?
More information about the Digitalmars-d-announce
mailing list