来自 iso C++ n3290 的一点:依赖于参数的名称查找:第 3.4.2 节,第 4 段
When considering an associated namespace, the lookup is the same as the lookup
performed when the associated namespace is used as a qualifier (3.4.3.2) except
that:
— Any using-directives in the associated namespace are ignored.
— Any namespace-scope friend functions or **friend function templates** declared
in associated classes are visible within their respective namespaces even if
they are not visible during an ordinary lookup (11.3).
— All names except those of(possibly overloaded) functions and function
templates are ignored.
在这里,与 2003 年早些时候的标准相比,他添加了第 3 点。任何人都可以解释它是如何可能的......用一个例子来解释......(重载)..
而且他还说,在第二点中,他包括了朋友功能模板(我知道noraml calss朋友功能)..任何人都可以解释一下,这就是那个satatement。