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.