samedi 11 mars 2017

Do pair and tuple have an implementation for hash

Hi I was wondering if the default implementation for hash (on unordered_set/unordered_map) works well with pair and tuple. I didn't notice any issues, but was wondering if there was any guidance in this area. Assuming that the tuples/pair contain builtin types(say int).

Aucun commentaire:

Enregistrer un commentaire