This question has been asked here already, but none of the answers talk evidently about the Iterator invalidation rules for C++14 and the coming C++17. (and sadly I cannot comment there <50 points)
What are the differences between the Iterator invalidation rules for C++11 and the current updated standards we have. Are they the same? Can someone highlight the changes (if any) or give the complete (nice to read) specification here?
(I am most interested in unordered_set and unordered_map.)
Aucun commentaire:
Enregistrer un commentaire