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 */ 10 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 */ 15 16 template <typename T1> 17 struct A 18 { 19 template <typename T2> 20 struct B 21 { 22 typedef A<T2> _Type; 23 }; 24 }; 25 26 27 template <typename T, typename A> 28 struct C 29 { 30 typedef typename A:: template B<T>::_Type _ATType; 31 }; 32