4 ms·
`unique_ptr` is more of an investment as if you call `get()` all the time you can still end up with dangling references.
by Guvante 8y ago
`unique_ptr` is more of an investment as if you call `get()` all the time you can still end up with dangling references.