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/
90
Upvotes
r/cpp • u/anonymous23874 • Apr 19 '20
View all comments
8
u/Morwenn Apr 19 '20
One thing not addressed here is that you can generally add overloads to a function without breaking the ABI while you can't afford to add default arguments to a function if ABI is something you care about.