static array length

Saaa empty at needmail.com
Thu Jan 31 04:34:21 PST 2008


Are you sure about this?
Because I can do:
writefln(c.length);


> Saaa:
>> A static string still has the .length info somewhere.
>
> The compiler knows it, but it may be absent in the compiled code.
>
> Bye,
> bearophile 




More information about the Digitalmars-d-learn mailing list