Thanks for the info.

So, if I understand you correctly, try-catch can not be used to catch unhandled (un-anticipated) exceptions such as segmentation faults. I was hoping try-catch works similar in C++ as it does in C#, so it can be used to more gracefully handle bugs that would otherwise cause the program to crash.

Can you please describe what type of exceptions ARE caught from the standard library?