Статья о том, почему не следует использовать аргументы функций по умолчанию.
https://proglib.io/w/b844a759
#article
https://proglib.io/w/b844a759
#article
quuxplusone.github.io
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…
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…