go top

Argument-dependent name lookup

  • 依赖于实参的名字查找(C++中的ADL是一种名字查找机制,依据函数调用中的实参的数据类型查找未限定的函数名。也称为“克尼格查找”,仅当正常名字查找无法匹配时才使用,此时会搜索函数实参的数据类型相关的命名空间)

网络释义英英释义

  依赖于实参的名字查找

argument-dependent name lookup 依赖于实参的名字查找 【语义】在未限定的函数调用表达式中,考虑所出现的所有(函数或模板的)实参所在的命名空间来查找被调用的函数

基于1个网页-相关网页

Argument-dependent name lookup

  • abstract: In the C++ programming language, argument-dependent lookup (ADL), or argument-dependent name lookup, applies to the lookup of an unqualified function name depending on the types of the arguments given to the function call. This behavior is also known as Koenig lookup, named after its inventor Andrew Koenig.

以上来源于: WordNet

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定