more cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-01 04:08:18 +00:00
commit 9bf8d63e04
3 changed files with 58 additions and 1 deletions

View file

@ -30,7 +30,7 @@
{
return c;
}
}
@ -162,5 +162,19 @@ template <class C> struct Param
return a;
}
struct Foo
{
Foo(int i) {
}
};
}
%std_nodefconst_type(Foo);
%template(vector_Foo) std::vector<Foo>;
%template(deque_Foo) std::deque<Foo>;
%template(list_Foo) std::list<Foo>;