Eliminate nested class from testcase - that's not what we want to test here!

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-09-23 13:02:27 +00:00
commit 8fa318ee36

View file

@ -31,18 +31,8 @@ class X {};
%inline %{
template<typename Type, short Rank>
class Test {
/**** conditional return type TestRm1 =
Test<Type,Rank-1> oder Type: ****/
template<bool cond, class T1, class T2> class
CondRetType { typedef T1 TestRm1; };
template<class T1, class T2> class
CondRetType<false, T1, T2> { typedef T2 TestRm1; };
typedef typename CondRetType< Rank!=1,
Test<Type,Rank-1>, Type>::TestRm1 TestRm1;
public:
Test() {};
};
%}