Re: immutable storage class?

2009-03-12 Thread Robert Fraser
Sergey Kovrov wrote: From playing with compiler looks like immutable and invariant are practically interchangeable. And typeof reports that invariant is really immutable. I personally like immutable keyword better, but wonder if it is just a change of name or something more? -- serg. From t

Re: immutable storage class?

2009-03-06 Thread Jesse Phillips
On Fri, 06 Mar 2009 08:58:04 -0500, Sergey Kovrov wrote: > I cannot find any information about immutable keyword. I presume it is a > storage class and should be described in "Declarations" manual page, but > it is not. On the other hand it is mentioned in changelog and some > manual pages. Is it

Re: immutable storage class?

2009-03-06 Thread Stewart Gordon
Sergey Kovrov wrote: I cannot find any information about immutable keyword. http://d.puremagic.com/issues/show_bug.cgi?id=2572 Stewart.

Re: immutable storage class?

2009-03-06 Thread Sergey Kovrov
>From playing with compiler looks like immutable and invariant are practically >interchangeable. And typeof reports that invariant is really immutable. I >personally like immutable keyword better, but wonder if it is just a change of >name or something more? -- serg.

Re: immutable storage class?

2009-03-06 Thread bearophile
Sergey Kovrov: >Is it an alias for invariant or const, or something completely different?< I think it's the new (correct) name for invariant. Bye, bearophile

immutable storage class?

2009-03-06 Thread Sergey Kovrov
I cannot find any information about immutable keyword. I presume it is a storage class and should be described in "Declarations" manual page, but it is not. On the other hand it is mentioned in changelog and some manual pages. Is it an alias for invariant or const, or something completely differ