0

Possible Duplicate:
C++ ‘mutable’ keyword

What does the keyword mutable do in the following C++ code:

class X {
   mutable int x;
...
};
Community
  • 1
  • 1
user231967
  • 1,935
  • 11
  • 9

1 Answers1

0

mutable keyword allows you to modify particular attribute of a constant object ... check this

RubyDubee
  • 2,426
  • 2
  • 23
  • 34