Legacy macros, protected iterator, typedefs

This commit is contained in:
Brad Kotsopoulos 2019-02-04 22:23:13 -05:00
commit d06ffe1087
4 changed files with 87 additions and 49 deletions

View file

@ -134,6 +134,7 @@ class unordered_set {
public:
struct iterator {
%typemap(javaclassmodifiers) iterator "protected class"
%extend {
void incrementUnchecked() {
++(*$self);
@ -149,6 +150,11 @@ class unordered_set {
}
};
typedef KeyType key_type;
typedef KeyType value_type;
typedef size_t size_type;
typedef ptrdiff_t difference_type;
unordered_set();
unordered_set(const unordered_set<KeyType>&);