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

The only core thing I can think of is “std::bad_cast” with “dynamic_cast”, but I’ve never run into that in practice. “std::out_of_range” only happens when you’re using checked member functions that take indices—which I never do, preferring iterators. However, “std::length_error” can theoretically happen, and nobody checks for it, so there is at least one point of failure.


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

Search: