~/talk

Contracts for C++

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [security]
links:none on file
slides:none on file

Proposal claims a Contracts MVP targets C++26 with concrete syntax for preconditions postconditions assertions, four evaluation modes (ignore / observe / enforce / quick‑enforce), a link‑time overridable contract violation handler, postconditions that name the returned object, and explicit rules for virtuals and const correctness. Paper finds 196 use cases, deliberately scopes an MVP, and reports working branches in clang and GCC plus Godbolt examples — enough detail to evaluate migration cost, runtime overhead choices, and debugging behavior.

AI-written summary · about

  1. 0:00C++ contracts proposal intro
  2. 10:20What contracts are
  3. 20:02Core contract concepts
  4. 33:10Contracts vs assert macros
  5. 42:06Contracts across translation units
  6. 51:37Program correctness with contracts
  7. 1:00:44Future extensions & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.