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