It acts on an object of the class of which it is a member and has access to all of the members of that object's class. An example of a member function is shown below.