Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ Contracts: Improving Code Safety and Correctness with C++26

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a comprehensive conference talk from CppCon that delves into the upcoming Contracts MVP feature planned for C++26. Learn about Design by Contract principles and their successful implementation in languages like Eiffel and Ada, while understanding the two-decade journey of bringing contracts to C++. Discover how the Contracts Study Group (SG21) has developed a new design that includes preconditions, postconditions, assertions, and contract-violation handling. Understand how this feature can serve as a superior replacement for custom assertion macros and enhance code safety and correctness. Presented by Timur Doumler, co-host of CppCast and co-chair of SG21, this talk provides valuable insights into the future of C++ programming and its continued evolution toward safer, more reliable code development.

Syllabus

Cpp Contracts - How Contracts in C++26 Can Improve C++ Code Safety and Correctness - Timur Doumler

Taught by

CppCon

Reviews

Start your review of C++ Contracts: Improving Code Safety and Correctness with C++26

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.