The problem with the D GC

Sean Kelly sean at f4.ca
Tue Jan 9 14:51:18 PST 2007


Sean Kelly wrote:
> Similar functions 
> could be written for arrays, exploiting some tricks in the language:
> 
>     T[] resize(T)( T[] val, size_t len ) { ... }

Err, this should be:

     T[] resize(T)( inout T[] val, size_t len ) { ... }

Sean



More information about the Digitalmars-d mailing list