From 9dd33e6367b59f65cc1ca04d46a34fbf2f9e35f1 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 12 Feb 2019 22:52:43 +0000 Subject: Add missing typedefs to std::map --- Lib/scilab/std_map.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Lib/scilab') diff --git a/Lib/scilab/std_map.i b/Lib/scilab/std_map.i index aea1c7141..de00534b0 100644 --- a/Lib/scilab/std_map.i +++ b/Lib/scilab/std_map.i @@ -22,6 +22,16 @@ namespace std { template > class map { // add typemaps here public: + typedef size_t size_type; + 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); -- cgit v1.2.1