Take Up Code

127: Data Types: Smart Pointers Part 2.

12:49 | Jun 20th, 2016

The C++ language guarantees that destructors run at specific times even if an exception is thrown. You can use this to make sure that other cleanup work gets done. That’s what smart pointers do. A pointer can allow you to create new objects in some s...Show More