Transcription: To distinguish between the different definitions of an overloaded function, the compiler uses an algorithm called argument matching. This algorithm compares the function calls with each of the definitions of the overloaded function to determine which definition matches the call.