Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v9 / share / swig / 1.3.26 / perl5 / std_pair.i
CommitLineData
920dae64
AT
1//
2// SWIG typemaps for std::pair
3// Luigi Ballabio
4// July 2003
5//
6// Common implementation
7
8%include std_common.i
9%include exception.i
10
11// ------------------------------------------------------------------------
12// std::pair
13// ------------------------------------------------------------------------
14
15%{
16#include <utility>
17%}
18
19namespace std {
20
21 template<class T, class U> struct pair {
22
23 pair();
24 pair(T t, U u);
25 pair(const pair& p);
26
27 template <class U1, class U2> pair(const pair<U1, U2> &p);
28
29 T first;
30 U second;
31 };
32
33 // add specializations here
34
35}