Shared pointers as function arguments
This article complements the previous on unique pointers. I have noticed that there is some confusion around how and when to design a function to take a shared pointer as an argument. The goal of this article is to provide guidelines for the different use cases that you may face. I just need access to …