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

The ‘error’ member variable would take an additional space in the object that otherwise could be as small as a byte. C++ is carefully designed to avoid unnecessary overhead.


Exceptions take space.




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

Search: