Lecture 4 - Slide 13 : 40 |
There is no automatic memory managment in C++
Therefore it is attractive to attach resource management to construction and destruction of stack-allocated objects
The resource is encapsulated in a class together with allocation and release member functions