Which code does not contain errors?
Explanation
In this case:
typedef int Type;
template <class Type>
class Class {
    ...
    public:
    Type val;
}
the declared template parameter names hide the names in the global space.

Следи за CodeGalaxy

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

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