Added cpp0x_constexpr.i testcase. Fixed compilation bug of cpp0x_template_double_brackets.i testcase. Removed obsolete cpp0x_template_double_brackets_broken. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
26 lines
399 B
OpenEdge ABL
26 lines
399 B
OpenEdge ABL
%module foo
|
|
%inline %{
|
|
#include <map>
|
|
std::map<int,std::map<int, double>> m;
|
|
std::map< int,std::map<int, double> > n;
|
|
|
|
class ABC {
|
|
public:
|
|
int a;
|
|
int operator>>(ABC &);
|
|
int operator<<(ABC &);
|
|
};
|
|
|
|
template<class T>
|
|
class ABC2 {
|
|
public:
|
|
int a;
|
|
|
|
template<typename U>
|
|
U operator>>(ABC &);
|
|
|
|
template<typename U>
|
|
U operator<<(ABC &);
|
|
};
|
|
%}
|
|
|