C++ smart pointer cookbook

Day 2 /  / Track 2  /  RU / Introduction to technology

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.