diff options
author | Jisi Liu <liujisi@google.com> | 2016-05-16 11:33:46 -0700 |
---|---|---|
committer | Jisi Liu <liujisi@google.com> | 2016-05-16 11:33:46 -0700 |
commit | cf1fd7ed65ad2943415ecf59b38e5ce926ee3a76 (patch) | |
tree | d4e78c54a0289983bace81e8a4b0d8eb7c69b9ce /src | |
parent | f2db1e0e39384a841853718bd241c607bcfde829 (diff) | |
parent | 5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe (diff) | |
download | protobuf-cf1fd7ed65ad2943415ecf59b38e5ce926ee3a76.tar.gz protobuf-cf1fd7ed65ad2943415ecf59b38e5ce926ee3a76.tar.bz2 protobuf-cf1fd7ed65ad2943415ecf59b38e5ce926ee3a76.zip |
Merge pull request #1533 from pherl/mapcomment
Remove the comments about iterator validation
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/map.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index bb0b14f9..6f1a71e4 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -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: |