Post

This kind of last-minute disruptive and wasteful rejection is exactly what WG21’s slow deliberative process is supposed to avoid.

0 reposts31 likes

IMO, if C++ really fails to ship contracts here, thereby slipping them to C++29 at the earliest, it’s another nail in the coffin and C++ will continue on its slow decline toward being a legacy language.

Was surprised to learn that every other draft has apparently passed unanimously, making it all the more surprising that this one even missed that mark, let alone missing 2/3s

It's probably less surprising if you know how dysfunctional the whole process has been. C++ contracts as they currently exist are riddled with implementation defined and undefined behavior, to the point where they probably aren't useful at all. Discussions didn't really go anywhere and the fraction/

of the committee who had objections mostly just focused on getting their own features into the standard. Most members haven't been involved one way or the other, and may now have voted against it due to seeing that none of the issues raised before ever actually got fixed.