Fix some language's std::map wrappers to recognise difference_type, size_type, key_type and mapped_type.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-05-15 19:51:06 +00:00
commit 142f1e72bb
8 changed files with 33 additions and 4 deletions

View file

@ -215,12 +215,13 @@
%}
public:
map();
map(const map< K, T > &other);
typedef size_t size_type;
typedef ptrdiff_t difference_type;
typedef K key_type;
typedef T mapped_type;
typedef size_t size_type;
map();
map(const map< K, T > &other);
size_type size() const;
bool empty() const;
%rename(Clear) clear;