1 | namespace N { template<typename T> struct A { friend int f(A); }; } |
---|---|
2 | namespace N { int f(int); } |
3 | namespace N { int f(int); } |
4 | #include "a.h" |
5 | namespace N { int f(int); } |
6 | inline int g() { return f(N::A<int>()); } |
7 |
1 | namespace N { template<typename T> struct A { friend int f(A); }; } |
---|---|
2 | namespace N { int f(int); } |
3 | namespace N { int f(int); } |
4 | #include "a.h" |
5 | namespace N { int f(int); } |
6 | inline int g() { return f(N::A<int>()); } |
7 |