Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
robododo
· 12y ago · 0 comments
You still need delete for some things.
Smart pointers are not a panacea.
Comments
[–]
TillE
12y 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.
[–]
wfunction
12y ago
Sorry I meant to ask why is it a habitual thing.