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

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024
  • 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: github.com/phi...
    Sponsored by Bloomberg: www.bloomberg....
    Sponsored By think-cell: www.think-cell...
    ---
    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 RUclips 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 - www.cpponsea.uk
    / cpponsea
    x.com/cpponsea
    www.facebook.c...
    / cpponsea
    vmst.io/@cpponsea
    ---
    RUclips Videos Filmed, Edited & Optimised by Digital Medium: events.digital...
    ---
    #cpp #cplusplus #cppprogramming #programming #cpponsea

Комментарии • 8