通常的名称查询是什么意思? [英] What does usual name lookup mean?
问题描述
秒。 3.4.1 / 3表示以下内容:
In sec. 3.4.1/3 said the following:
为了确定(在解析期间)表达式是否为
a postfix-expression对于函数调用,通常名称查找规则
apply
For purposes of determining (during parsing) whether an expression is a postfix-expression for a function call, the usual name lookup rules apply
c $ c>通常名称查找在这种情况下?很不明显。
What does mean usual name lookup
in that case? It is quite not obviously.
UPD:我正在寻找stadard的引用来定义常用名称查找
概念。这是因为我已经在AndreyT的非正式定义
UPD: I'm looking for a quote from the stadard to define usual name lookup
concept. It is because I have already non-formal definition from AndreyT in this topic.
推荐答案
@AndreyT在此回答您先前的问题: http://stackoverflow.com/a/23820772/2805305
@AndreyT answered you on your previous question here: http://stackoverflow.com/a/23820772/2805305
通常意味着查找按照
3.4.1的其余部分所述执行,不使用ADL。
"Usual" means that the lookup is performed as described in the rest of 3.4.1 and no ADL is used.
如果你想知道什么是ADL,你可以检查这些链接:
If you want to know what ADL is you can check these links:
http://en.cppreference.com/w/cpp/language/adl
http://en.wikipedia.org/wiki/Argument-dependent_name_lookup
这篇关于通常的名称查询是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!