add Bill's case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3aba853aa0
commit
b3cbaae1cc
1 changed files with 9 additions and 0 deletions
|
|
@ -20,9 +20,18 @@
|
|||
|
||||
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct X {
|
||||
X(T t = T());
|
||||
// and also:
|
||||
X(double a, T t = T(0));
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
%template(Hello_int) Hello<int>;
|
||||
%template(X_int) X<int>;
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue