swig/Examples/test-suite/cpp0x_template_double_brackets.i
Matevz Jekovec 1af6d8a1b0 Renamed template_double_brackets -> cpp0x_template_double_brackets.
Added CPP0X_TEST_CASES and CPP0X_TEST_BROKEN in common.mk.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-06 16:25:24 +00:00

26 lines
510 B
OpenEdge ABL

%module foo
#include <map>
std::map<int,std::map<int, double>> m;
std::map<int,std::map<int, double> > n;
std::map< std::map<(6>>1), double>, double> o;
//std::map< std::map<6>>1, double>, double> p; // fails as it should
class ABC {
public:
int a;
int operator>>(ABC &);
int operator<<(ABC &);
};
template<class T>
class ABC2 {
public:
int a;
template<typename U>
int operator>>(ABC &, U);
template<typename U>
int operator<<(ABC &, U);
};