Function overload resolution (also known as function matching) is the process by which a function call is associated with a specific function from a set of overloaded functions.
函数重载确定,即函数匹配是将函数调用与重载函数集合中的一个函数相关联的过程。
To understand function overloading, we must understand how to define a set of overloaded functions and how the compiler decides which function to use for a given call.
要理解函数重载,必须理解如何定义一组重载函数和编译器如何决定对某一调用使用哪个函数。
Specifies that a declared programming element redeclares and hides an identically named element, or set of overloaded elements, in a base class.
指定已声明的编程元素重新声明并隐藏基类中的同名元素或重载元素集。
应用推荐