#ifndef GENERS_UNORDERED_MAPIO_HH_ #define GENERS_UNORDERED_MAPIO_HH_ #include "geners/CPP11_config.hh" #ifdef CPP11_STD_AVAILABLE #include #include "geners/GenericIO.hh" #include "geners/specialize_hash_io.hh" namespace gs { template struct InsertContainerItem > { typedef std::unordered_map A; static inline void insert(A& obj, const typename A::value_type& item, const std::size_t /* itemNumber */) {obj.insert(item);} }; template struct InsertContainerItem > { typedef std::unordered_map A; static inline void insert(A& obj, const typename A::value_type& item, const std::size_t /* itemNumber */) {obj.insert(item);} }; template struct InsertContainerItem > { typedef std::unordered_multimap A; static inline void insert(A& obj, const typename A::value_type& item, const std::size_t /* itemNumber */) {obj.insert(item);} }; template struct InsertContainerItem > { typedef std::unordered_multimap A; static inline void insert(A& obj, const typename A::value_type& item, const std::size_t /* itemNumber */) {obj.insert(item);} }; } gs_specialize_template_id_TTTTT(std::unordered_map, 0, 4) gs_specialize_template_id_TTTTT(std::unordered_multimap, 0, 4) #endif // CPP11_STD_AVAILABLE #endif // GENERS_UNORDERED_MAPIO_HH_