As of this writing (but perhaps not for very much longer!) the four mainstream compilers on Godbolt Compiler Explorer give four different answers for this simple C++ program:
<p>Wowza! It’s been a while since Part 2, and so much has happened. I’m glad to be back, and I have some “unfinished business” I need to wrap up. Namely: Finish this blog series.</p>
- twitter.com/MacSlow
- OpenSource and computer-graphics geek. I like/ride motorcycles too! Ex-Canonical/Ubuntu, CTO & co-founder of spot-on, currently at Heindenhain Numeric B.V.