News for hackers. Stuff that matters.
Re:Why the C++ standard ships every three years by edflsafoiewq on Saturday July 13, 2019 @06:04PM (#20430449)
The vast majority of the time you just want to pass a reference to the pointed-to object (for both unique_ptr and shared_ptr). Once you've decided what you're actually going to do with the object, that usually determines how you're going to want to pass it.

There are no comments on this comment yet.