| 1 | namespace N { template<typename T> struct A { friend int f(A); }; } |
|---|---|
| 2 | // It would seem like this variable should be called 'c'. |
| 3 | // But that makes the original problem disappear... |
| 4 | int e = f(N::A<int>()); |
| 5 | #include "a.h" |
| 6 | #include "b.h" |
| 7 |
| 1 | namespace N { template<typename T> struct A { friend int f(A); }; } |
|---|---|
| 2 | // It would seem like this variable should be called 'c'. |
| 3 | // But that makes the original problem disappear... |
| 4 | int e = f(N::A<int>()); |
| 5 | #include "a.h" |
| 6 | #include "b.h" |
| 7 |