const and volatile Member Functions

A class member function may be const or volatile or both.

Rules:

All the above rules combine for a function which is both const and volatile.