Y
Hacker News
new
|
ask
|
show
|
jobs
by
ddlutz
1702 days ago
It's widely accepted you should almost always use some smart pointer like unique_ptr or shared_ptr, and even sometimes the the unpopular weak_ptr depending on your use case.