1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/compiler/ttei6.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,30 @@
1.4 +/*
1.5 + * It is known that this code not compiled by following compilers:
1.6 + *
1.7 + * It is known that this code compiled by following compilers:
1.8 + *
1.9 + * MSVC 6
1.10 + * MSVC 8 Beta
1.11 + */
1.12 +
1.13 +/*
1.14 + * This code represent what STLport waits from a compiler which support
1.15 + * member template classes (!_STLP_NO_MEMBER_TEMPLATE_CLASSES)
1.16 + */
1.17 +
1.18 +template <typename T1>
1.19 +struct A
1.20 +{
1.21 + template <typename T2>
1.22 + struct B
1.23 + {
1.24 + typedef T2 _Type;
1.25 + };
1.26 +};
1.27 +
1.28 +
1.29 +template <typename T1, typename T2>
1.30 +struct C
1.31 +{
1.32 + typedef typename A<T1>:: template B<T2>::_Type ABType;
1.33 +};