Y
Hacker News
new
|
ask
|
show
|
jobs
by
robododo
4234 days ago
You still need delete for some things.
Smart pointers are not a panacea.
2 comments
TillE
4234 days ago
The only common exceptions for smart pointer usage should be for interfacing with an awkward C library or the OS, in which case you'd typically be using specific memory allocation functions, not new/delete.
link
wfunction
4234 days ago
Sorry I meant to ask why is it a habitual thing.
link