summaryrefslogtreecommitdiff
path: root/Examples/test-suite/li_std_multimap.i
blob: bd087d361b030f3f6845dff2589d3e9fbb5772a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%module("templatereduce") li_std_multimap

%feature("trackobjects");

%include std_pair.i
%include std_multimap.i

%inline %{
struct A{
    int val;
    
    A(int v = 0): val(v)
    {
    }

};
%}

namespace std
{
  %template(pairA) pair<int, A*>;
  %template(multimapA) multimap<int, A*>;
}