Using shared_ptr for reloadable config
After my post std::shared_ptr is an anti-pattern I was thinking about an example of justified usage of std::shared_ptr. I have mentioned that it can be used to implement caching, and in this post, I am going to use it for implementing reloadable config.
[Read More]