Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a mutable member?

Answer Posted / nimish singh

One that can be modified by the class even when the object of the class or the member function doing the modification is const.

Understanding this requirement implies an understanding of C++ const, which many programmers do not have. I have seen large class designs that do not employ the const qualifier anywhere. Some of those designs are my own early C++ efforts. One author suggests that some programmers find const to be such a bother that it is easier to ignore const than to try to use it meaningfully. No wonder many programmers don't understand the power and implications of const. Someone who claims to have enough interest in the language and its evolution to keep pace with the ANSI deliberations should not be ignorant of const, however.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is virtual function? Explain with an example

1096


the first character in the variable name must be an a) special symbol b) number c) alphabet

1092


How a new operator differs from the operator new?

1118


How do you compile the source code with your compiler?

1057


What do you mean by overhead in c++?

1090


What are arithmetic operators?

996


What is the difference between an enumeration and a set of pre-processor # defines?

1386


What is searching? Explain linear and binary search.

998


What is constructor and destructor in c++?

1111


Write a program to find the reverse Fibonacci series starting from N.

1269


What is a c++ object?

1162


What are the advantages of c++?

1888


Why struct is used in c++?

1121


To what does “event-driven” refer?

1058


Why the usage of pointers in C++ is not recommended ?

1448