On Friday, 20 April 2012 at 09:17:18 UTC, trav...@phare.normalesup.org (Christophe) wrote:
"Jakob Ovrum" , dans le message (digitalmars.D.learn:34948), a écrit :
On Thursday, 19 April 2012 at 18:34:41 UTC, Jacob Carlborg wrote:

Named arguments would probably be better for this.

fun(c = 5);

Maybe so, but `fun(c = 5);` is not an additive change, while the OP's suggestion actually is.

How about

int c;
fun(c = 5);

?

That is what I was talking about. (did you mean to quote the post I quoted, perhaps?)

Reply via email to