Possible Duplicate:
C++ ‘mutable’ keyword
What does the keyword mutable
do in the following C++ code:
class X {
mutable int x;
...
};
Possible Duplicate:
C++ ‘mutable’ keyword
What does the keyword mutable
do in the following C++ code:
class X {
mutable int x;
...
};
mutable keyword allows you to modify particular attribute of a constant object ... check this