summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-07-09 18:35:58 +0200
committerIvan Solovev <ivan.solovev@qt.io>2021-07-12 20:50:16 +0200
commitd1d9caf12d103957dccc867c349c4514a28cfe6c (patch)
tree67ff134d8db013672fc6e1389ee5c9baf5d2ac54 /src/corelib/tools
parent3c3f6ebdbb48c9c071ef1a34a955b36bdaed4f99 (diff)
QMultiMap::erase - extend docs to specify iterator limitations
Task-number: QTBUG-91736 Pick-to: 6.2 6.1 Change-Id: I7cd58e010af5dd59404e37c55f6ebd91c4631b3f Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qmultimap.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qmultimap.qdoc b/src/corelib/tools/qmultimap.qdoc
index a57708b261..913d4155d7 100644
--- a/src/corelib/tools/qmultimap.qdoc
+++ b/src/corelib/tools/qmultimap.qdoc
@@ -699,6 +699,8 @@
from the multi map, and returns an iterator to the next item in the
map.
+ \note The iterator \a pos must be valid and dereferenceable.
+
\sa remove()
*/
@@ -710,6 +712,8 @@
Returns an iterator to the item in the multi map following the last
removed element.
+ \note The range \c {[first, last)} \e must be a valid range in \c {*this}.
+
\sa remove()
*/