Include all template parameters for std_unordered_multimap and std_unordered_map

This commit is contained in:
William S Fulton 2019-03-12 20:03:14 +00:00
commit 30f59ffe22
5 changed files with 42 additions and 38 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; }
%}