return value

Ali Çehreli acehreli at yahoo.com
Tue Mar 9 10:35:41 PST 2010


bearophile wrote:
> m Wrote:
>> Can a function return a function as a return value?
>> as a delegate?
> 
> Yes, you can do those things. In D2 you can return a clusure too:

Is closure a separate feature, or are delegates closures?

Thank you,
Ali


More information about the Digitalmars-d-learn mailing list