Const spec status.

Janice Caron caron800 at googlemail.com
Sun Apr 27 15:47:15 PDT 2008


On 27/04/2008, Bruno Medeiros <brunodomedeiros+spam at com.gmail> wrote:
>  and tell which ones you think are valid and which are not. Before running
Here goes:

>         int a = inv_num;
OK

>         invariant(int) b = num;
OK


>         const(int)[] c = inv_intArray;
OK

>         int[] d = inv_intArray;
ERROR

>         Object e = inv_object;
ERROR

>         Struct f = inv_Struct;
OK



More information about the Digitalmars-d mailing list