New WG21 paper P4043R0: Are C++ Contracts Ready to Ship in C++26?

1 week ago 5
ARTICLE AD BOX

The C++26 Contracts facility (P2900) is currently in the Working Draft, but the design is still the subject of substantial discussion inside the committee.

This paper I authored raises the question of whether Contracts are ready to ship in C++26 or whether the feature should be deferred to a later standard.

Click -> P4043R0: Are C++ Contracts Ready to Ship in C++26?

I'm curious to hear the perspective of the broader C++ community outside WG21:

Do you expect to use Contracts? Does the current design make sense to you? Would you prefer a simpler model?

Feedback welcome.

Read Entire Article