r/cpp • u/pavel_v • Jul 29 '26
C++26: Reducing undefined behaviour
https://www.sandordargo.com/blog/2026/07/29/cpp26-reduces-undefined-behaviour
91
Upvotes
r/cpp • u/pavel_v • Jul 29 '26
View all comments
Show parent comment
16
u/James20k P2005R0 Jul 29 '26
This 100%. The goal of C++ is to write your source once within the spec, and have it be automatically portable anywhere else. It hasn't always worked out, but the idea that you could take virtually any code and run it on a non ieee system is...... perhaps optimistic