What is the role of mutable storage class specifier?

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

A constant class object’s member variable can be altered by declaring it using mutable storage class specifier. Applicable only for non-static and non-constant member variable of the class.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.