diff options
Diffstat (limited to 'Lib/perl5/std_list.i')
-rw-r--r-- | Lib/perl5/std_list.i | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i index cd5a61120..36678add2 100644 --- a/Lib/perl5/std_list.i +++ b/Lib/perl5/std_list.i @@ -189,11 +189,15 @@ namespace std { } public: typedef size_t size_type; + typedef ptrdiff_t difference_type; typedef T value_type; + typedef value_type* pointer; + typedef const value_type* const_pointer; + typedef value_type& reference; typedef const value_type& const_reference; list(); - list(const list<T> &); + list(const list& other); unsigned int size() const; bool empty() const; @@ -346,7 +350,7 @@ namespace std { typedef const value_type& const_reference; list(); - list(const list<T> &); + list(const list& other); unsigned int size() const; bool empty() const; |