Will the following code compile?
struct A {
  A() { throw 0; }
};
Explanation
Yes, since exceptions can be thrown from inside the constructors

Следи за CodeGalaxy

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

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