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
Show parent comment
6
u/robin-m Apr 19 '20
Especially given that you can have declaration and implementation that can be in different files. So if the first case you have:
Witch is anything but explicit.
In the second case, it will be: