Y
Hacker News
new
|
ask
|
show
|
jobs
by
enriquto
3015 days ago
you do not need destructors if you put your stuff on the stack
1 comments
jcelerier
3015 days ago
just putting stuff on the stack in C won't magically call `fclose` or `pthread_mutex_unlock`, unlike destructors
link