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
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
Sergey Kovrov wrote:
I cannot find any information about immutable keyword.
http://d.puremagic.com/issues/show_bug.cgi?id=2572
Stewart.
>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.
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
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