Python C++11 hash tables compilation fixes

- std::unordered_map compilation fix when just using std_unordered_map.i standalone
- std::unordered_multimap compilation fix when just using std_unordered_multimap.i standalone
- Add in the standalone unordered STL test cases

Closes #1319
This commit is contained in:
William S Fulton 2018-08-31 19:05:40 +01:00
commit 2f31c3e94e
4 changed files with 65 additions and 47 deletions

View file

@ -3,7 +3,7 @@
*/
%include <std_unordered_map.i>
%fragment("StdUnorderedMultimapTraits","header",fragment="StdSequenceTraits")
%fragment("StdUnorderedMultimapTraits","header",fragment="StdMapCommonTraits",fragment="StdUnorderedMapForwardIteratorTraits")
{
namespace swig {
template <class SwigPySeq, class K, class T >