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

YouTube

Understanding The constexpr Two-Step

cpponsea via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of constexpr usage in C++20 with Jason Turner's conference talk from C++ on Sea 2024. Delve into the "constexpr two-step" method for generating compile-time data of unknown size and efficiently transferring it to runtime while minimizing binary sizes. Learn why simple constexpr declarations for std::vector and std::string don't compile as expected, and discover practical techniques to leverage constexpr capabilities effectively. Gain insights from Turner's two decades of C++ experience as he unravels the complexities of compile-time computations and their integration with runtime environments.

Syllabus

Understanding The constexpr 2-Step - Jason Turner - C++ on Sea 2024

Taught by

cpponsea

Reviews

Start your review of Understanding The constexpr Two-Step

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.