r/cpp • u/Specific-Housing905 • Feb 26 '26
The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter
https://www.youtube.com/watch?v=oitYvDe4nps&t=1s
69
Upvotes
r/cpp • u/Specific-Housing905 • Feb 26 '26
View all comments
Show parent comment
2
u/germandiago Mar 01 '26 edited Mar 01 '26
That already happens with compiler switches nowadays (bounds checks, no exceptions, etc.) To the best of my knowledge, it works. How is that different in terms of combinatoric?