cpprussia C++ Russia 2019 (19.04.2019)

C++ smart pointer cookbook

img

This talk’s aimed at C++ developers already familiar with basic capabilities of default smart pointers. From this talk they’ll learn several handy tricks of using both default and custom smart pointers.

C++11 introduces the unique_ptr, shared_ptr, weak_ptr smart pointers. Apart from handling their main task — simplifying dynamic memory management — they can also become building blocks for more complex structures.

This talk’s aimed at C++ developers already familiar with basic capabilities of default smart pointers. From this talk they’ll learn several handy tricks of using both default and custom smart pointers.