After using std::rethrow_exception() (and catching the exception), all subsequent calls to std::uncaught_exception() return `true', which is obviously not the way it was meant to work.
A simple test case is attached.
After using std::rethrow_ exception( ) (and catching the exception), all subsequent calls to std::uncaught_ exception( ) return `true', which is obviously not the way it was meant to work.
A simple test case is attached.