What is the purpose of using access modifier mutable?
Explanation
C ++ Standard - ANSI ISO IEC 14882 2003 § 7.1.1.9 The mutable specifier on a class data member nullifies a const specifier applied to the containing class object and permits modification of the mutable class member even though the rest of the object is const

Следи за CodeGalaxy

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

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