mardi 3 novembre 2015

Storing iterator from multimap in unordered_set (hash-table)

I have some multimap std::multimap<type1, type2>. As I know this data-structure produces stable iterator. For some reason I need to store it in std::unordered_set. Is there some cross-platform (granted by c++11 standard) feature of BidirectionalIterator that can be used to evaluate hash?

Aucun commentaire:

Enregistrer un commentaire