I have no particular opinion on contracts per se, but I do think that the C++ committee is procrastinating by focusing on niche features like contracts instead of dealing with the urgent issues (namely packaging and memory safety) where C++ is losing to Rust.
The rejection was a moment for them to reevaluate their priorities but it doesn't seem that they've gotten the message.
I would like Ada-style integer types too, but I don't strictly know how those are implemented. Are you suggesting invariants should also be given at the type level?
LOL. The C++26 gloom and doom last month was something else. C++ was finished (not just C++26, mind you), and everyone should pack their bags and move to Rust.
Meanwhile, back in reality, the committee did its job: it addressed the NB comments, kept contracts, and C++26 is back on track. Imagine that.
The rejection was a moment for them to reevaluate their priorities but it doesn't seem that they've gotten the message.
Ho-lee, guys. We just needed pre(x > 0)
Meanwhile, back in reality, the committee did its job: it addressed the NB comments, kept contracts, and C++26 is back on track. Imagine that.