7 ms·
Thank you for writing that. I was about to write ... exactly the same. There is a very legitimate use case for passing the const reference to the shared pointer
by afc 7y ago
Thank you for writing that. I was about to write ... exactly the same. There is a very legitimate use case for passing the const reference to the shared pointer that the article doesn't consider at all, which you've explained very well.