git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
35 lines
583 B
OpenEdge ABL
35 lines
583 B
OpenEdge ABL
//
|
|
// SWIG typemaps for std::pair
|
|
// Luigi Ballabio
|
|
// July 2003
|
|
//
|
|
// Common implementation
|
|
|
|
%include <std_common.i>
|
|
%include <exception.i>
|
|
|
|
// ------------------------------------------------------------------------
|
|
// std::pair
|
|
// ------------------------------------------------------------------------
|
|
|
|
%{
|
|
#include <utility>
|
|
%}
|
|
|
|
namespace std {
|
|
|
|
template<class T, class U> struct pair {
|
|
|
|
pair();
|
|
pair(T t, U u);
|
|
pair(const pair& p);
|
|
|
|
template <class U1, class U2> pair(const pair<U1, U2> &p);
|
|
|
|
T first;
|
|
U second;
|
|
};
|
|
|
|
// add specializations here
|
|
|
|
}
|