Learn Generative AI, Prompt Engineering, and LLMs for Free
Learn Backend Development Part-Time, Online
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 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