Default function arguments are the devil
If you frequently talk with me about C++, you have undoubtedly heard me say:
Default function arguments are the devil.
My position opposes the historical (early-1990s) style of the STL, of course; but I was recently
alerted that it’s also in direct conflict with the (2010s) C++ Core Guidelines, specifically
rule F.51.
Since this conflict might, if unaddressed, lead people to think I’m wrong, I’d better address it. ;)
Arthur O’Dwyer