[static] [shared] [const|immutable]

Christopher Wright dhasenan at gmail.com
Mon May 18 16:08:35 PDT 2009


Lionello Lunesu wrote:
> So one has to wonder what code will be generated for "shared 
> immutable".. an immutable with (useless) locking?

If that happens, Walter will get a bug report, and he'll change it so 
that shared immutable variables are silently converted to non-shared 
immutable variables.

That currently happens with incompatible type modifiers and storage 
classes, I believe.


More information about the Digitalmars-d-learn mailing list