This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Where does the system go after an out of range C++ exception?

I'm trying to capture events like accessing an invalid idx of a C++ vector

I'm using the method at, like this:

std::vector<int> my_array;

my_array.at(10000);

I can see with the debugger that the code throws an out of range exception and then goes into an infinite loop.

My question is: which infinite loop is that? Does it go to some of the error_handlers? Can I override it to an application-specific handler?

Thanks!

Parents Reply Children
No Data
Related