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.