Skip to main content
added 34 characters in body
Source Link
László Papp
  • 52.7k
  • 40
  • 112
  • 138

The very keyword 'mutable' is actually a reserved keyword.often it is used to vary the value of constant variable.If you want to have multiple values of a constsnt,use the keyword mutable. //Prototype class tag_name{ : : mutable var_name; : : };

//Prototype 
class tag_name{
                :
                :
                mutable var_name;
                :
                :
               };   

The very keyword 'mutable' is actually a reserved keyword.often it is used to vary the value of constant variable.If you want to have multiple values of a constsnt,use the keyword mutable. //Prototype class tag_name{ : : mutable var_name; : : };

The very keyword 'mutable' is actually a reserved keyword.often it is used to vary the value of constant variable.If you want to have multiple values of a constsnt,use the keyword mutable.

//Prototype 
class tag_name{
                :
                :
                mutable var_name;
                :
                :
               };   
Source Link

The very keyword 'mutable' is actually a reserved keyword.often it is used to vary the value of constant variable.If you want to have multiple values of a constsnt,use the keyword mutable. //Prototype class tag_name{ : : mutable var_name; : : };