News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by ncmncm on Tuesday June 11, 2019 @08:21PM (#20160719)
Yes, a default argument would be cleaner.

There are an astonishing number of uses for default arguments that never appear at the call site.

My fav constructs an object that is just storage for a value that needs to live a little bit longer than the call itself.

There are no comments on this comment yet.