summaryrefslogtreecommitdiff
path: root/Lib/go/std_map.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-12 22:52:43 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-13 22:46:27 +0000
commit9dd33e6367b59f65cc1ca04d46a34fbf2f9e35f1 (patch)
treeb10898dac813de9af9ae1d5f125cdf036bcda5fe /Lib/go/std_map.i
parent1f449973432d19a4c05987246dee372d1a503573 (diff)
downloadswig-9dd33e6367b59f65cc1ca04d46a34fbf2f9e35f1.tar.gz
Add missing typedefs to std::map
Diffstat (limited to 'Lib/go/std_map.i')
-rw-r--r--Lib/go/std_map.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/go/std_map.i b/Lib/go/std_map.i
index 3077d157f..5e21591e9 100644
--- a/Lib/go/std_map.i
+++ b/Lib/go/std_map.i
@@ -27,6 +27,12 @@ namespace std {
typedef ptrdiff_t difference_type;
typedef K key_type;
typedef T mapped_type;
+ typedef std::pair< const K, T > value_type;
+ typedef value_type* pointer;
+ typedef const value_type* const_pointer;
+ typedef value_type& reference;
+ typedef const value_type& const_reference;
+
map();
map(const map< K, T, C >& other);