| 1 | namespace N { |
|---|---|
| 2 | template <typename> struct A { |
| 3 | int n; |
| 4 | A() : n() {} |
| 5 | }; |
| 6 | |
| 7 | // Create declaration of A<int>. |
| 8 | typedef A<int> AI; |
| 9 | } |
| 10 |
| 1 | namespace N { |
|---|---|
| 2 | template <typename> struct A { |
| 3 | int n; |
| 4 | A() : n() {} |
| 5 | }; |
| 6 | |
| 7 | // Create declaration of A<int>. |
| 8 | typedef A<int> AI; |
| 9 | } |
| 10 |