Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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.