[英]first friend function template declaration is visible through `using namespace` but not through qualified name lookup
我有以下代碼,我用 C++11 編譯。這段代碼是對現實世界用法的簡化。namespace bar { template<int M = 10> struct S { template<int N = M*2> friend int foo(S) { ...