The signature of set_unexpected handler doesn't take any argument.
But I want to print which Exception hass been occured along with the error message from the set_unexpected callback function !!
So How can it be made possible.
I dont want to patch GCC's files.
It Can also be done If set_unexpected(std::exception) overload exists.
or there exists some way to get the last raised uncaught exception somehow.
or may be some other way too..