I\'m trying to create a custom exception that derives from std::exception and overrides what(). At first, I wrote it like this:
std::exception
what()
class U
It seems that the old throw() (deprecated in C++11) works in both compilers. So I changed the code to:
throw()
virtual const char* what() const throw() override