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/_Js_Kc_ Apr 19 '20

Nor should this be a thing:

std::int8_t i = 65;
std::cout << i << '\n';

Prints A. Maybe.

-_-