Commit cf1fd7ed authored by Jisi Liu's avatar Jisi Liu

Merge pull request #1533 from pherl/mapcomment

Remove the comments about iterator validation
parents f2db1e0e 5e7c4cb3
......@@ -504,9 +504,7 @@ class MapPair {
// assert(m0.begin()->first == m1.begin()->first); // Bug!
//
// Map's interface is similar to std::unordered_map, except that Map is not
// designed to play well with exceptions. Mutations to a Map do not invalidate
// a Map's iterators, pointers to elements, or references to elements. Except
// for erase(iterator), any non-const method can reorder iterators.
// designed to play well with exceptions.
template <typename Key, typename T>
class Map {
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment