Add missing typedefs to std::pair
This commit is contained in:
parent
9dd33e6367
commit
a47c2553f5
14 changed files with 31 additions and 16 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue