Tuesday, June 22, 2010

How to Ignore an Exception in C++

try
{
    // try something that might throw an exception here.
}
catch (...)
{
   // exception will be caught but ignored.
}

No comments: