O'Reilly logo
  • Yuan Peng Chiang thinks this is interesting:

If you declare a member function to be constant with the const keyword, it indicates that the function won’t change the value of any members of the class.


Cover of Sams Teach Yourself C++ in 24 Hours, fifth edition


just like static member in java class