Core C++ 2021 :: C++17 key features

Поділитися
Вставка
  • Опубліковано 21 вер 2021
  • By Alex Dathskovsky, presented at Core C++ 2021 conference.
    This talk will discuss the key features and changes that were added in C++17 and will open up to a short discussion about each one.
    =====
    Alex is a C++ expert, developer, trainer, and speaker with a strong experience in template meta-programming and modern C++. He is a C++ evangelist that motivates companies to move to the most modern standard. He has more than 15 years of development and management in fields such as storage, signal processing, and image processing.
    Alex is a team lead at speedata.io, an exciting startup that builds a novel accelerator for big data computations. At speedata, Alex is using the latest C++ features to develop the accelerator's software stack.
  • Наука та технологія

КОМЕНТАРІ • 1

  • @Roibarkan
    @Roibarkan 2 роки тому +1

    44:00 in case it isn’t clear: there were 2 allocations perfomed - first by reserve() of 4*sizeof(pmr::string), and second by the constructor of the long string. That’s why the long string appears right after the vector. The shorter strings indeed use “small string optimization” and don’t allocate.