const
constdeclaration
member-functionconst
When modifying a data declaration, the const keyword specifies that the object or variable is not modifiable. When following a member function's parameter list, the const keyword specifies that the function doesn't modify the object for which it is invoked. See Constant Values and Constant Member Functions for more information. Also see volatile and #define.