r/cpp • • May 03 '26

The Most Confusing C++ Behavior

https://codestyleandtaste.com/most-confusing-C++-behavior.html
37 Upvotes

51 comments sorted by

View all comments

Show parent comment

1

u/levodelellis May 04 '26

Good catch. I usually use my personal print function which would have given an error if I did this. I doubt output would change even in an optimize build.