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++

CppNow via YouTube

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

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.