samedi 26 mars 2016

Is order of iteration over the elements of std::unordered_set guaranteed to be always the same?

If iterate over the elements of std::unordered_set multiple times without changing the contents of the set (but potentially reading from it, calculating its size, etc.), is it guaranteed that the elements will be visited in the same order each time?

Aucun commentaire:

Enregistrer un commentaire