Тип доклада: Доклад

Initialisation in modern C++

  • Доклад на английском языке

Initialisation semantics is widely regarded as one of the most difficult aspects of the C++ language. We have many different kinds of initialisation and many different syntaxes for it, and they interact in complex and often surprising ways. C++11 introduced the concept of "uniform initialisation". But instead of unifying, this feature introduced even more complex rules, which were subsequently amended in C++14, C++17, and will be changed again for C++20.

In this talk, Timur will first summarise the history of initialisation in C++. He'll then give a systematic overview over the current initialisation rules and common pitfalls and surprises. There will be some practical coding guidelines to help using those rules effectively. Finally, Timur will offer to discuss recent proposals towards making initialisation semantics in C++20 simpler and more user-friendly.

  • #moderncpp

Спикеры

Доклады