Buy real YouTube subscribers. Best price and warranty.
Get Free YouTube Subscribers, Views and Likes

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

Follow
cpponsea

https://cpponsea.uk​


Understanding The constexpr 2Step 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::vectorintdata{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 twostep." 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 thinkcell: https://www.thinkcell.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.digitalmedium.co.uk


#cpp #cplusplus #cppprogramming #programming #cpponsea

posted by Immarmowenellhc