调用重载的函数时,将调用其参数最密切匹配传递参数的重载函数,具体取决于传递给函数的实际参数类型。
When an overloaded function is called, the overloaded function whose arguments most closely match the passed arguments is called, depending on the actual types of arguments passed to the function.
不支持探测重载和多态的函数。
Probing of overloaded and polymorphic functions is not supported.
在编写扩展函数时,应谨慎处理根据实参类型进行的方法重载。
Be cautious about method overloading based on argument type when you write extension functions.
应用推荐