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

Yeap. forgetting to propagate or handle an error provided in a return value is very very easy. If you fail to handle an exception, you halt.


For what it's worth, C++17 added [[nodiscard]] to address this issue.




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

Search: