diff options
Diffstat (limited to 'Lib/tcl/std_pair.i')
-rw-r--r-- | Lib/tcl/std_pair.i | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/tcl/std_pair.i b/Lib/tcl/std_pair.i index 1448d6524..39ef008d3 100644 --- a/Lib/tcl/std_pair.i +++ b/Lib/tcl/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; |