Include all template parameters for std_unordered_multimap and std_unordered_map
This commit is contained in:
parent
cfdf65eb34
commit
30f59ffe22
5 changed files with 42 additions and 38 deletions
|
|
@ -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; }
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue