Master AI and Machine Learning: From Neural Networks to Applications
The Private Equity Associate Certification
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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