The exception of which type will be thrown when executing the following code
 dynamic_cast<const C*>(&B());
at this class hierarchy:
struсt А{
    virtuаl ~А(){}
};
struсt В : А{};
struсt С : А{};

Следи за CodeGalaxy

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

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