On Tue, 10 Aug 2010 15:19:25 -0400, Nick Sabalausky <[email protected]> wrote:
"cemiller" <[email protected]> wrote in message
news:[email protected]...
On Mon, 09 Aug 2010 20:21:25 -0700, Andrei Alexandrescu
<[email protected]> wrote:
fun(a, b, c) { body }
|
V
fun((a, b, c) { body });
I think this way will be better:
fun(a, b, c) { body }
|
V
fun(a, b, c, { body });
I was thinking something like this:
void fun(int x, int y, int z, delegate void(int, int, int) dg)
fun(x, y, z, a, b, c) { body }
|
V
fun(x, y, z, (a, b, c) { body });
Mixing function args with delegate args makes me think of foreach:
fun(x, y, z, (a, b, c) { body }); <=> fun(a, b, c; x, y, z) { body }