New (!) ways of memory management.
A beginner's look at smart pointers in modern C++
by Triangles @ Internal Pointers
From the article:
Pointers in C and C++ languages are wild beasts. They are extremely powerful, yet so dangerous: a little oversight may wreak havoc on your whole app. Smart pointers were born to fix such annoyances. They provide automatic memory management: when a smart pointer is no longer in use, that is when it goes out of scope, the memory it points to is deallocated automatically.
Add a Comment
Comments are closed.