Перейти к содержимому

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

cpponsea

0:00 / 0:00

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

12 720 просмотров · 1 год назад
cpponsea
18,1 тыс. подписчиков
12 720 просмотров · 1 год назад
https://cpponsea.uk​ --- Understanding The constexpr 2-Step - Jason Turner - C++ on Sea 2024 --- C++20 enabled both std::vector and std::string for constexpr usage. However, this simple case does not compile: constexpr std::vector<int>data{1,2,3,4,5}; If we cannot create constexpr strings and vectors, then what good are they for constexpr use? This talk will cover the "constexpr two-step." A method of getting data of unknown size generated at compile time into the runtime world while minimizing binary sizes in the process. --- Slides: https://github.com/philsquared/cppons... Sponsored by Bloomberg: https://www.bloomberg.com/company/val... Sponsored By think-cell: https://www.think-cell.com/cpponsea --- Jason Turner Jason has 2 decades of C++ experience and is a regular conference speaker, developer, and trainer. He has been publishing weekly C++ videos on his YouTube channel, C++ Weekly, since 2016. --- C++ on Sea is the international C++ conference taking place by the sea, in the UK. Our venue is in Folkestone, Kent, near the entrance to the channel tunnel with stunning views across the English Channel. Annual C++ On Sea Conference - https://www.cpponsea.uk   / cpponsea   https://x.com/cpponsea https://www.facebook.com/profile.php?...   / cpponsea   https://vmst.io/@cpponsea --- YouTube Videos Filmed, Edited & Optimised by Digital Medium: https://events.digital-medium.co.uk --- #cpp #cplusplus #cppprogramming #programming #cpponsea