Shared_ptr & Custom Deleter in Modern C++
In this article, we will discuss when and how to use a custom deleter with shared_ptr in Modern C++. Using shared_ptr with Arrays in C++ When a shared_ptr object goes out of scope, its destructor is indeed called. Within its destructor, the reference count is decremented by one. If the new value of the reference […]
Shared_ptr & Custom Deleter in Modern C++ Read More »