Bartlomiej Filipek personal blog
C++26 Contracts: Introduction to Preconditions and Postconditions
In the article about Standard Library hardening, we looked at checks for invalid Standard Library container access and other broken preconditions. I mentioned that those requirements are expressed in terms of “contracts”. But what about our code? In this post, we’ll explore contracts from C++26. We’ll start with a…
- Points
- 151
- HN comments
- 188
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 15, 2026 | C++26 Contracts: Introduction to Preconditions and Postconditions by ibobev | 151 | 188 |