Migrating to Shared

Simen Kjaeraas simen.kjaras at gmail.com
Wed May 13 06:20:44 PDT 2009


Robert Fraser wrote:

> Jarrett Billingsley wrote:
>> // should be immutable int[3], no?
>> immutable table[3] x = [6, 123, 0x87];
>
> Really shouldn't that be enum, unless you mysteriously needed to take  
> the address of it?

Seeing as how the example is for immutable, I'd say enum wouldn't be
quite right.

--
  Simen



More information about the Digitalmars-d mailing list