summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmultimap.qdoc
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-07-09 18:35:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-12 21:38:41 +0000
commit453f55e376f7dcb2be0a235b0484f8fb19a45f4f (patch)
tree171029bce86c06d4398104cd739749274b833e7b /src/corelib/tools/qmultimap.qdoc
parent8d296cd0c26c818917a3f2f737ecbd607b7e8394 (diff)
QMultiMap::erase - extend docs to specify iterator limitations
Task-number: QTBUG-91736 Change-Id: I7cd58e010af5dd59404e37c55f6ebd91c4631b3f Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit d1d9caf12d103957dccc867c349c4514a28cfe6c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/tools/qmultimap.qdoc')
-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()
*/