Will the next code be compiled?
typedef int my_int;

struct A {
  A() throw(int, my_int) {}
};
Explanation
Yes, because the types on the exception list can be repeated.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по C++
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты