Feature request: lazy as a type constructor

Nathan Reed nathaniel.reed at gmail.com
Sun Oct 7 08:38:15 PDT 2007


renoX wrote:
> So an array of lazy int is probably an array of references to int, which 
> is not very efficient..

Lazy parameters are implemented as delegates, so actually an array of 
lazy ints would be an array of delegates returning ints.

Thanks,
Nathan Reed



More information about the Digitalmars-d mailing list