first commit
This commit is contained in:
30
extern/STLport/5.2.1/test/compiler/ttei6.cpp
vendored
Normal file
30
extern/STLport/5.2.1/test/compiler/ttei6.cpp
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* It is known that this code not compiled by following compilers:
|
||||
*
|
||||
* It is known that this code compiled by following compilers:
|
||||
*
|
||||
* MSVC 6
|
||||
* MSVC 8 Beta
|
||||
*/
|
||||
|
||||
/*
|
||||
* This code represent what STLport waits from a compiler which support
|
||||
* member template classes (!_STLP_NO_MEMBER_TEMPLATE_CLASSES)
|
||||
*/
|
||||
|
||||
template <typename T1>
|
||||
struct A
|
||||
{
|
||||
template <typename T2>
|
||||
struct B
|
||||
{
|
||||
typedef T2 _Type;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
template <typename T1, typename T2>
|
||||
struct C
|
||||
{
|
||||
typedef typename A<T1>:: template B<T2>::_Type ABType;
|
||||
};
|
||||
Reference in New Issue
Block a user