Doc: Improve QMap, QMultiMap description
Make it clear that the fast lookup is by key, not by value. See also discussion in https://forum.qt.io/topic/121907/misleading-documentation-of-qhash-qmap/ Pick-to: 5.15 6.0 Change-Id: I396297e0e4674e0a1f889f4138ab52ff224c0ee2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: Paul Wicking <paul.wicking@qt.io>bb10
parent
3ce5128d80
commit
05146a77fc
|
|
@ -49,8 +49,7 @@
|
|||
\reentrant
|
||||
|
||||
QMap\<Key, T\> is one of Qt's generic \l{container classes}. It
|
||||
stores (key, value) pairs and provides fast lookup of the
|
||||
value associated with a key.
|
||||
stores (key, value) pairs and provides fast lookup by key.
|
||||
|
||||
QMap and QHash provide very similar functionality. The
|
||||
differences are:
|
||||
|
|
|
|||
|
|
@ -49,8 +49,7 @@
|
|||
\reentrant
|
||||
|
||||
QMultiMap\<Key, T\> is one of Qt's generic \l{container classes}. It
|
||||
stores (key, value) pairs and provides fast lookup of the
|
||||
value associated with a key.
|
||||
stores (key, value) pairs and provides fast lookup by key.
|
||||
|
||||
QMultiMap and QMultiHash provide very similar functionality. The
|
||||
differences are:
|
||||
|
|
|
|||
Loading…
Reference in New Issue