Take Up Code

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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 episodes from Take Up Code