RAII Idiom

Get an overview of resource acquisition in initialization (RAII).

We'll cover the following...

Overview

Programming languages can be divided into two types:

  • Managed, in which we have automatic memory management and garbage collection. Java is an example of a managed language.
  • Unmanaged, in which we don’t have automatic memory management and garbage collection. C/C++ is an example of an unmanaged
...