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.
要理解函数重载,必须理解如何定义一组重载函数和编译器如何决定对某一调用使用哪个函数。
This enables the user to differentiate between overloaded functions.
这使用户能够区分重载函数。
The debugger supports the evaluation of functions, including overloaded functions.
调试器支持函数的计算,包括重载函数的计算。
"C" linkage is specified for more than one function in a set of overloaded functions.
为一组重载函数中的多个函数指定了“C”链接。
This information can be used to discover the signature of the function which allows you to differentiate between overloaded functions.
该信息可用于发现函数的签名,该签名使您能够区分重载函数。
Using overloaded functions cuts down on method dispatching, which is one of the reasons other programming styles can result in slow code.
重载可以减少方法调度,后者正是其他编程风格所产生的代码效率不高的原因。
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.
函数重载确定,即函数匹配是将函数调用与重载函数集合中的一个函数相关联的过程。
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.
函数重载确定,即函数匹配是将函数调用与重载函数集合中的一个函数相关联的过程。
应用推荐