fix std_map such that is not necessary to use %template() std::pair<xx,yy> everytime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2665f5b765
commit
c3bb0f609c
2 changed files with 14 additions and 16 deletions
|
|
@ -12,8 +12,6 @@
|
|||
/* instantiate the required template specializations */
|
||||
namespace std {
|
||||
/* remember to instantiate the key,value pair! */
|
||||
%template() pair<std::string,double>;
|
||||
%template() pair<std::string,int>;
|
||||
%template(DoubleMap) map<std::string,double>;
|
||||
%template() map<std::string,int>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue