aboutsummaryrefslogtreecommitdiff
path: root/Lib/perl5
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-14 07:31:21 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-14 07:31:21 +0000
commit440264e4797b0941f410dbfe6385285dd0daa20b (patch)
tree6ad7f4c96bab21623a9e77fd4d6733a86be454a6 /Lib/perl5
parente26f6bb4e21b7adc90fcd916ec3cbd39e583637e (diff)
downloadswig-440264e4797b0941f410dbfe6385285dd0daa20b.tar.gz
Add missing typedefs to std::list + typedef corrections
Numerous missing typedefs added. std::list<T*>::const_reference and std::list<T*>::reference specialization typedef fixes.
Diffstat (limited to 'Lib/perl5')
-rw-r--r--Lib/perl5/std_list.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i
index 8e2945fba..d42e3d8ef 100644
--- a/Lib/perl5/std_list.i
+++ b/Lib/perl5/std_list.i
@@ -189,7 +189,11 @@ 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();