Allow empty field function arguments for default?

Jakob Ovrum jakobovrum at gmail.com
Thu Apr 19 14:13:59 PDT 2012


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.


More information about the Digitalmars-d-learn mailing list