move simple template test outside
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4220781986
commit
70e2cbd5a6
1 changed files with 0 additions and 26 deletions
|
|
@ -41,30 +41,4 @@ std::map<int,A*> m_identa(const std::map<int,A*>& v)
|
|||
|
||||
|
||||
|
||||
%inline %{
|
||||
struct C{};
|
||||
typedef C* pC;
|
||||
|
||||
template <class A, class B>
|
||||
struct Test
|
||||
{
|
||||
Test (A a, B b)
|
||||
{
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
template <class A, class B>
|
||||
struct Test<A, B*>
|
||||
{
|
||||
Test (A a, B* b)
|
||||
{
|
||||
}
|
||||
|
||||
};
|
||||
%}
|
||||
|
||||
|
||||
%template(test_pC) Test<int, pC>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue