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

YouTube

Simplest Safe Integers

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the pitfalls and undefined behavior of C++'s C heritage regarding built-in types and operations in this CppNow 2021 conference talk. Dive into the upcoming MISRA-C++ guidelines to understand the motivation behind a simple integer library that ensures conformance to the "essential type model." Learn how to implement a library of "integer" types that adhere to MISRA guidelines, providing safety features such as no promotion, fixed signedness, and controlled wrap-around behavior. Discover the use of enum class types, operator overloading, and user-defined literals in the implementation. Access the code on GitHub and gain insights from Peter Sommerlad, an experienced software engineer and C++ expert, on simplifying and safeguarding software through Decremental Development.

Syllabus

Simplest Safe Integers - Peter Sommerlad [CppNow 2021]

Taught by

CppNow

Reviews

Start your review of Simplest Safe Integers

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.