Private default arguments?

Peter Alexander peter.alexander.au at gmail.com
Fri Dec 28 10:17:45 PST 2012


On Friday, 28 December 2012 at 10:58:59 UTC, bearophile wrote:
> An alternative idea (that I maybe I proposed years ago in a 
> weaker form) is to introduce 'private' default arguments (they 
> must have a default value):
>
> Is this little feature worth the amount of language complexity 
> increase it causes?

I don't think it is, given how easy it is to work around.



More information about the Digitalmars-d mailing list