Take Up Code
127: Data Types: Smart Pointers Part 2.

127: Data Types: Smart Pointers Part 2.

Take Up Code

12:49

About this episode

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 is what smart pointers do.

More from Take Up Code

This is the first in a series of comments about the book “How To Code C++ From a Simple Idea To a Game You’ll Understand!” Each episode will be short and focused. You can watch the video versions on Y…

1m