author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
1 /*
2 * It is known that this code not compiled by following compilers:
3 *
4 * MSVC 6
5 *
6 * It is known that this code compiled by following compilers:
7 *
8 * MSVC 8 Beta
9 */
11 /*
12 * This code represent what STLport waits from a compiler which support
13 * the rebind member template class technique (!_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE)
14 */
16 template <typename T1>
17 struct A
18 {
19 template <typename T2>
20 struct B
21 {
22 typedef A<T2> _Type;
23 };
24 };
27 template <typename T, typename A>
28 struct C
29 {
30 typedef typename A:: template B<T>::_Type _ATType;
31 };