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

You can perfectly well have classes which have different levels of initialization and clean them all up in the destructor...

RAII is generally useful without exceptions.



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

Search: