Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Harnessing Constexpr - A Path to Safer C++

Meeting Cpp via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Harnessing Constexpr - A Path to Safer C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.