Dynamic Array Garbage collection

Daniel Keep daniel.keep.lists at gmail.com
Tue Feb 24 19:42:24 PST 2009



Jarrett Billingsley wrote:
> On Tue, Feb 24, 2009 at 6:45 PM, Daniel Keep
> <daniel.keep.lists at gmail.com> wrote:
> 
>>  Maybe it's because I just woke up, but I can't see how that code could
>> compile anyway, since you can't pass a short[] to a function expecting
>> an int[].
> 
> You missed the array literal.

I saw that, but thought that it would be a short[] literal since it's
usually the type of the first argument.

  -- Daniel


More information about the Digitalmars-d-learn mailing list