Ref Counted Objects and C++ Smart Pointers

In this article we will look into implementing a simple smart pointer class with reference counting support for tracking the lifetime of a pointer. First we will try to understand the primary models of memory management in most modern programming languages.

[Read More]