Python std::unordered_set tidy up and additional testing

This commit is contained in:
William S Fulton 2018-09-23 17:02:19 +01:00
commit 631e26ae48
2 changed files with 4 additions and 3 deletions

View file

@ -49,7 +49,7 @@
#endif
%extend {
%extend {
void append(value_type x) {
self->insert(x);
}
@ -61,8 +61,7 @@
value_type __getitem__(difference_type i) const throw (std::out_of_range) {
return *(swig::cgetpos(self, i));
}
};
}
%enddef
%include <std/std_unordered_set.i>