Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you for bringing that up. It's called RAII and it's one of my favorite features of C++. The fun thing about it is that it can also be used to manage other resources such as files, sockets, locks or what not.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: