A beginner’s look at smart pointers in modern C++

Save to:
Instapaper Pocket Readability

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.

Comments (3)

0 0

Yury P. said on Nov 15, 2018 01:54 AM:

The link seems to be broken, please consider double-checking ':' after https in the link above.
0 0

Yury P. said on Nov 15, 2018 02:11 AM:

Great article, thanks! But the link https//www.internalpointers.com/post/beginner-s-look-smart-pointers-modern-c seems to be broken. Please, consider fixing it by inserting ':' after https. Have a great day!
0 0

Felix Petriconi said on Nov 15, 2018 04:15 AM:

Thanks for noticing me. Fixed.