Closures/Value capture: Difference between revisions
Content deleted Content added
Fixed output D versions |
Simpler first D version |
||
Line 171:
int delegate()[] funcs;
foreach (
funcs ~=
writeln(funcs[3]());
|
Fixed output D versions |
Simpler first D version |
||
Line 171:
int delegate()[] funcs;
foreach (
funcs ~=
writeln(funcs[3]());
|