Custom Deleter in std::unique_ptr
In my previous article, we discussed how std::unique_ptr helps to avoid memory leak. By default it calls the default deleter (C++ delete operator) when the std::unique_ptr goes out of context.…
Code, Create, Conquer: Insights, Algorithms, and Innovation