author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
1 /*
2 * It is known that this code not compiled by following compilers:
3 *
4 * It is known that this code compiled by following compilers:
5 *
6 * MSVC 6
7 * MSVC 8 Beta
8 */
10 /*
11 * This code represent what STLport waits from a compiler which support
12 * member template classes (!_STLP_NO_MEMBER_TEMPLATE_CLASSES)
13 */
15 template <typename T1>
16 struct A
17 {
18 template <typename T2>
19 struct B
20 {
21 typedef T2 _Type;
22 };
23 };
26 template <typename T1, typename T2>
27 struct C
28 {
29 typedef typename A<T1>:: template B<T2>::_Type ABType;
30 };