Home Segments Index Top Previous Next

165: Mainline

Note carefully that C++ does not copy the class-object argument of a member function when the member function is called. Consequently, when you reassign a member variable inside a member function, you change the value of the member variable in the class-object argument.