Calling anonymous delegate recursively ?
andrej.mitrovich at gmail.com
Sat Jan 8 09:40:43 PST 2011
As a workaround you can do this for now:
enum deleg = returnFib();
ulong delegate(ulong m) returnFib()
return (ulong m)
if(m < 2)
Otherwise I'd really like the ability for a lambda to call itself.
Perhaps a feature request is in order.
More information about the Digitalmars-d-learn