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

YouTube

consteval All The Things? - Exploring C++20 Compile-Time Evaluation

ACCU Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the powerful consteval feature from C++20 in this comprehensive conference talk that examines when and how to force compile-time evaluation in modern C++. Delve into the practical applications, advantages, and potential drawbacks of using consteval in real-world code scenarios. Learn from Jason Turner, a seasoned C++ developer, trainer, and host of the popular C++ Weekly YouTube channel, as he demonstrates what can and should be evaluated at compile time. Discover the implications of forcing compile-time evaluation on code performance, maintainability, and development workflows. Gain insights into best practices for implementing consteval effectively while understanding its limitations and appropriate use cases. Examine real code examples that illustrate both successful applications and potential pitfalls of this C++20 feature. Understand how consteval fits into the broader landscape of compile-time programming techniques and when it provides genuine benefits over alternative approaches.

Syllabus

consteval All The Things? - Jason Turner - ACCU 2025

Taught by

ACCU Conference

Reviews

Start your review of consteval All The Things? - Exploring C++20 Compile-Time Evaluation

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.