Using "[]" for empty array (instead of null)
Lionello Lunesu
lio at remove.lunesu.com
Wed Mar 1 05:20:37 PST 2006
Futhermore, "[]" does not suffer from the same problems. What's the type of
"[2]"? Will "ar=[2]" copy the data, dup it or just point to it?
"Lionello Lunesu" <lio at remove.lunesu.com> wrote in message
news:du40jt$7f8$1 at digitaldaemon.com...
>> Sounds OK, but doesn't it require (the long-lost) array literals first ?
>
> Yes, but this could be seen as a step towards those ; )
>
> L.
>
More information about the Digitalmars-d
mailing list