Add missing typedefs to std::pair

This commit is contained in:
William S Fulton 2019-02-12 23:02:38 +00:00
commit a47c2553f5
14 changed files with 31 additions and 16 deletions

View file

@ -7,21 +7,6 @@
%{
#include <utility>
%}
/*
A really cut down version of the pair class.
this is not useful on its own - it needs a %template definition with it
eg.
namespace std {
%template(IntPair) pair<int, int>;
%template(make_IntPair) make_pair<int, int>;
}
*/
namespace std {
template <class T, class U > struct pair {
@ -38,5 +23,4 @@ namespace std {
template <class T, class U >
pair<T,U> make_pair(const T& t,const U& u);
}