RAII (Resource Acquisition Is Initialization)
Concept
A programming idiom that binds the lifetime of a resource to the lifetime of an object. Resources are acquired when an object is created and released when it is destroyed, preventing memory leaks and dangling pointers.
Mentioned in 1 video
