Safely copying, moving, and destroying objects in Modern C++ with the rule of "all or nothing"

1 Просмотры
Which constructors does a C++ class need? Which does it generates on its own? What about various assignment operators? And a destructor? How not to shoot ones leg off and navigate these waters effortlessly?

This and more we cover in this video that tells us a simple rule to follow when implementing classes in Modern C++, the rule of "all or nothing". We dive into the reasons for its existence and see how it makes our lives easier.

Язык программирования C++
Комментариев нет.