swig/SWIG/Lib/java/std_pair.i
William S Fulton 6f21f0d74a added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00

35 lines
588 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 first, U second);
pair(const pair& p);
template <class U1, class U2> pair(const pair<U1, U2> &p);
T first;
U second;
};
// add specializations here
}