2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Pass the PMP® Exam on Your First Try — Expert-Led Training
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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