Default Argument Improvements?
bdbyrne at wisc.edu
Sun Feb 4 10:44:24 PST 2007
Whyn Oop Wrote:
> Brian Byrne Wrote:
> > Handy, no?
> Please, just describe informally how a maintainer would have to
> evaluate the meaning of such codelines:
Well, I guess it largely depends on your coding style. It may be a good idea to explicitly state it in your code that you are going to use default parameters in this case.
f( auto, auto, auto, 4, 2 );
f( auto, auto, 4.2 );
Similarity still exists, but the goal is much more explicit now.
More information about the Digitalmars-d-learn