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

7

u/Nobody_1707 Apr 19 '20

C has never had default arguments. It's a pure C++ feature.

2

u/somecucumber Apr 19 '20

Argggh, not my day. You're right.