One of these days, I will figure out what contracts are again.
Lynn
On Tue, 11 Nov 2025 23:23:32 -0600
Lynn McGuire <lynnmcguire5@gmail.com> wrote:
One of these days, I will figure out what contracts are again.
Lynn
I don't believe you.
"Trip report: November 2025 ISO C++ standards meeting (Kona, USA)" by
Herb Sutter
https://herbsutter.com/2025/11/10/trip-report-november-2025-iso-c- standards-meeting-kona-usa/
"On Saturday, the ISO C++ committee completed the first of two final fit-and-finish meetings for C++26, in our meeting in Kona, USA. What we
have in the C++26 working draft represents exactly the set of features
we have consensus on so far; the goal of these last two meetings is to
fix bugs and otherwise increase consensus for the C++26 standard. We are well on track to complete our work on C++26 and set it in stone at our
next meeting in March 2026."
"For contracts (pre, post, contract_assert), we spent most of Monday and Tuesday reviewing feedback. The strong consensus was to keep contracts
in C++26, but to make two important bug fixes and pursue a way to
specify rCLmust enforce this assertionrCY:"
"-a-a-a We discovered two bugs, and adopted fixes for those at this
meeting. One was paper P3878R1 rCLStandard library hardening should not
use the rCyobserverCO semanticrCY by Ville Voutilainen, Jonathan Wakely, John
Spicer, and Stephan T. Lavavej.
-a-a-a For the next meeting in March, we are also pursuing something like the first proposed solution in P3911R0 rCL[basic.contract.eval] Make Contracts Reliably Non-IgnorablerCYby Darius Nea+cu, Andrei Alexandrescu, Lucian Radu Teodorescu, and Radu Nichita (though not necessarily with
that particular syntax). The idea is to add an option to express in
source code that a pre/post/contract_assert must be enforced, which some view as a necessary option in the initial version of contracts. A group
of interested persons will work on that design over the winter,
including to answer questions like rCLwhat syntax?rCY and rCLshould violations
call the violation handler or not?rCY, and bring a proposal to the March meeting."
One of these days, I will figure out what contracts are again.
Lynn
On 11/11/2025 11:23 PM, Lynn McGuire wrote:
One of these days, I will figure out what contracts are again.
Lynn
https://en.cppreference.com/w/cpp/language/contracts.html
https://www.reddit.com/r/cpp/comments/1idumqe/contracts_for_c_explained_in_5_minutes/
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf
Looks complicated.-a And is another version of assert.
Lynn
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (1 / 5) |
| Uptime: | 20:58:46 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
6 files (8,794K bytes) |
| Messages: | 185,811 |
| Posted today: | 1 |