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

IIRC, STL constructors throw if they can’t run successfully. I suppose if you’re sure that OOM is the only thing that is going to cause constructors to fail, you can just live with allocation failures causing program termination.


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

Search: