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
2
u/anonymous23874 Apr 23 '20
Hey, at least the answer (1 2) is what I hoped it would be! I was afraid it was going to be 1 1.
...aaaand there it is. https://wandbox.org/permlink/wkm5gm9V9j1ztwf3