Yet yet yet yet another thread about const and immutable.

Jude Young 10equals2 at gmail.com
Tue Oct 25 05:23:10 PDT 2011


I'm sure that there is much more, but I immutable is set to global storage
and not Thread Local Storage.
I believe that const is stil TLS.

On Tue, Oct 25, 2011 at 5:15 AM, Gor Gyolchanyan <
gor.f.gyolchanyan at gmail.com> wrote:

> What's the difference between const-declared variable and
> immutable-declared variable?
>
> module a;
>
> const(int) a;
> immutable(int) b;
>
> void main()
> {
> }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111025/9256ab8c/attachment.html>


More information about the Digitalmars-d mailing list