1 | #include "template_class_test.h" |
---|---|
2 | |
3 | template <typename T> |
4 | void A<T>::g() {} |
5 | |
6 | template <typename T> |
7 | template <typename U> |
8 | void A<T>::k() {} |
9 | |
10 | template <typename T> |
11 | int A<T>::c = 2; |
12 | |
13 | void B::f() {} |
14 |
1 | #include "template_class_test.h" |
---|---|
2 | |
3 | template <typename T> |
4 | void A<T>::g() {} |
5 | |
6 | template <typename T> |
7 | template <typename U> |
8 | void A<T>::k() {} |
9 | |
10 | template <typename T> |
11 | int A<T>::c = 2; |
12 | |
13 | void B::f() {} |
14 |