The guidance around function arguments and smart pointers is quite old, yet I still see it used incorrectly. In this post, we’ll explore the guidance and the costs of not following the advice. C++ Core Guidelines make this point clear: F.7: For general use, take T* or T& arguments rather...| eyakubovich.github.io
Avoiding Unnecessary Work| jprahman.substack.com
Nuances of the implementation of std::shared_ptr, its drawbacks, and best practices| Thoughts of a Curious Software Engineer | Dmitry Danilov