DEV Community

loading...

Discussion on: Memory management using Smart Pointers in C++ - Part 1

Collapse
sandordargo profile image
Sandor Dargo

Nice one, Pratik. Probably you could add why std::make_unique (since C++14) is a safer choice than using new.

Collapse
pratikparvati profile image
Pratik Parvati Author

Thanks Sandor! I will take this up in my next article.