Learn Generative AI, Prompt Engineering, and LLMs for Free
Google Data Analytics, IBM AI & Meta Marketing — All in One Subscription
Overview
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 how to leverage constexpr from C++11 through C++26 to significantly improve code safety in this conference talk from Meeting C++ 2025. Examine the ongoing debate about C++ safety, focusing on undefined behavior, bounds checking, and memory leaks that often dominate discussions about the language's inherent risks. Discover how modern C++ standards have introduced mechanisms to mitigate these safety concerns, with particular emphasis on constexpr as a powerful but frequently overlooked solution. Learn about common safety issues in C++, explore available tools and sanitizers that help identify problems, and understand how constexpr evolution across different C++ standards can serve as a path toward safer code development. Gain insights into how constexpr can be strategically used to address the argument that safety pitfalls are simply inherent to C++'s power and flexibility, demonstrating practical approaches to writing more secure and reliable C++ applications.
Syllabus
Harnessing constexpr: a path to safer C++ - Mikhail Svetkin - Meeting C++ 2025
Taught by
Meeting Cpp