diff options
Diffstat (limited to 'Lib/javascript/jsc/std_pair.i')
-rw-r--r-- | Lib/javascript/jsc/std_pair.i | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/javascript/jsc/std_pair.i b/Lib/javascript/jsc/std_pair.i index fe45ee676..732347db5 100644 --- a/Lib/javascript/jsc/std_pair.i +++ b/Lib/javascript/jsc/std_pair.i @@ -18,12 +18,14 @@ namespace std { template<class T, class U> struct pair { + typedef T first_type; + typedef U second_type; pair(); pair(T first, U second); - pair(const pair& p); + pair(const pair& other); - template <class U1, class U2> pair(const pair<U1, U2> &p); + template <class U1, class U2> pair(const pair<U1, U2> &other); T first; U second; |