AI Adoption - Drive Business Value and Organizational Impact
35% Off Finance Skills That Get You Hired - Code CFI35
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore how constexpr can significantly enhance C++ code safety in this conference talk from C++Now 2025. Discover how leveraging constexpr from its inception in C++11 through its evolution in C++26 provides a powerful but often overlooked solution to common safety issues in C++. Learn about the ongoing debate surrounding C++ safety, including undefined behavior, bounds checking, and memory leaks, while examining how modern C++ standards have introduced mechanisms to mitigate these risks. Gain insights into tools and sanitizers that can help improve code safety, and see practical demonstrations of how constexpr can be harnessed as a path to safer C++ development. The presentation covers the evolution of constexpr across multiple C++ standards and provides concrete examples of how this feature can address safety concerns that are often considered inherent to the language's power and flexibility.
Syllabus
Harnessing constexpr - A Path to Safer C++ - Mikhail Svetkin - C++Now 2025
Taught by
CppNow