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.
- Hour 9. Moving into Advanced Classes
- from Sams Teach Yourself C++ in 24 Hours, fifth edition
- Publisher: Sams
- Released: April 2011
just like static member in java class
Share this highlighthttp://www.safaribooksonline.com/a/sams-teach-yourself/70788/