Have you heard of mutable keyword?

Showing Answers 1 - 1 of 1 Answers

Ruth Samuel

  • Aug 30th, 2005
 

The mutable keyword overrides any enclosing const statement. A mutable member of a const object can be modified.  
 
The const keyword can be used to tell the compiler that a certain variable should not be modified once it has been initialized.  
It can also be used to declare functions of a class that do not alter any class data.  
 
nullMutable

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions