How many methods does an empty class have (C++11)?
Explanation
It has 7 methods. There is a constructor, a destructor, a copy constructor, an assignment operation, an address-of operation and in C++11 were added two extra methods - a move constructor and a move assignment (if the object constructed/assigned via rvalue).

Следи за CodeGalaxy

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

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