r/cpp • u/pavel_v • Mar 27 '26
C++26: A User-Friendly assert() macro
https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
53
Upvotes
r/cpp • u/pavel_v • Mar 27 '26
View all comments
Show parent comment
10
u/FullaccessInReddit Mar 27 '26
Who cares? If an assert failed (a condition that's supposed to always be true) the program's state, and by extension its behavior, already is "undefined".