Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As stated in Section 1.5 the signature of a function consists of its name and its parameter list. In C++, the return type is not part of the signature.
You have seen that C++ permits overloading of function names. Recall that a function name is overloaded if it has more than one meaning within a given scope. Overloading occurs when two or more functions within a given scope have the same name but different signatures. Also recall (Section 1.5) that it is an error to have two functions in the same scope with the same signature but different return types.