любая идея, почему virtual ~ exception() throw() находится в С++ 98, но virtual ~ exception() находится в С++ 11?
Какое дизайнерское решение разрешает С++ 11 бросать деструктор класса exception
?
Из здесь:
С++ 98:
class exception {
public:
exception () throw();
exception (const exception&) throw();
exception& operator= (const exception&) throw();
virtual ~exception() throw();
virtual const char* what() const throw();
}
С++ 11:
class exception {
public:
exception () noexcept;
exception (const exception&) noexcept;
exception& operator= (const exception&) noexcept;
virtual ~exception();
virtual const char* what() const noexcept;
}