r/cpp • u/anonymous23874 • Apr 19 '20
Default function arguments are the devil
https://quuxplusone.github.io/blog/2020/04/18/default-function-arguments-are-the-devil/
92
Upvotes
r/cpp • u/anonymous23874 • Apr 19 '20
View all comments
Show parent comment
19
u/EsotericFox Apr 19 '20
Because overloading typically duplicates code where that may not be called for.