Merge branch 'std_unordered_map_args_fix'

* std_unordered_map_args_fix:
  Include all template parameters for std_unordered_multimap and std_unordered_map
  Include all template parameters for std_unordered_map macro
This commit is contained in:
William S Fulton 2019-03-12 20:03:48 +00:00
commit 404aa2c3db
5 changed files with 52 additions and 48 deletions

View file

@ -5,3 +5,7 @@
%template(UnorderedMapIntInt) std::unordered_map<int, int>;
%template(UnorderedMapStringInt) std::unordered_map<std::string, int>;
%inline %{
std::unordered_map<std::string, int, std::hash< std::string >,std::equal_to< std::string >,std::allocator< std::pair< std::string const,int > > > inout(std::unordered_map<std::string, int> m) { return m; }
%}