Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Code lacks try/catch exception handling #22

matthewvon opened this Issue · 1 comment

3 participants


Memory allocations ("new") and some stl operations are designed to "throw". The code has no handling of "throw" operations.


More broadly, we'll just have to think about how we want or don't want to handle exceptions in there-- there is also a form of new that explicitly does not throw exceptions, operator new(std::nothrow):


int main()
char *x = new(std::nothrow) char[10];
delete x;

@evanmcc evanmcc added this to the 2.1 milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.