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
Зареєструйся Зараз
або Підпишись на майбутні тести