View on GitHub

talks

home

C++ Russia 2020 Piter

Constructors and destructors:
A few things you might want to know

It seems that in C++ there is nothing easier than constructor and destructor. But some interesting things can make your life better if you keep them in mind when you write code.

In this talk we will discuss some of the tricks and pitfalls in coding, as well as broader topics, such as type design.

For example, what’s the difference between a privately declared and a deleted constructor? (Spoiler: none.)

We will also discuss:

and few other things.

Video: https://www.youtube.com/watch?v=Z3Vngj1gC5A (in Russian)

Description on the conference site:
https://2020.cppconf-piter.ru/en/2020/spb/talks/7ck44kbyl6kz6pzvnni8zo/
(and in Russian)

Slides: