RAII (Resource Acquisition Is Initialization) is a simple but powerful idea in modern C++. The concept is this: whenever you create an object, it immediately owns some resource (like memory, a file handle, or a lock). And when that object goes out of...
psk-study.hashnode.dev4 min readNo responses yet.