r/cpp • • Apr 19 '20

Default function arguments are the devil

https://quuxplusone.github.io/blog/2020/04/18/default-function-arguments-are-the-devil/
90 Upvotes

149 comments sorted by

View all comments

Show parent comment

1

u/AntiProtonBoy Apr 19 '20

Overloading has its other perils too, like the wrong overload being called in some rare situations.