What is meant by Mutability of Objects in c++ language?

Started by Darshan, November 17, 2016, 07:04:54 PM

Previous topic - Next topic

Vincent

Hi all, I would like to ask you a big question that is in my head ... I would like to know what is meant by mutability of objects in c++ language? Please answer the question as soon as possible, thank you in advance.

Kyron

The mutable storage class specifier in C++ (or use of mutable keyword in C++)
auto, register, static and extern are the storage class specifiers in C. typedef is also considered as a storage class specifier in C. C++ also supports all these storage class specifiers. In addition to this C++, adds one important storage class specifier whose name is mutable.