From 5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Fri, 13 May 2016 18:12:57 -0700 Subject: Remove the comments about iterator validation As it may be implementation dependent. --- src/google/protobuf/map.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/google/protobuf/map.h') 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 class Map { public: -- cgit v1.2.3