Clarify foreach's documentation on valued-containers
authorAlejandro Exojo <suy@badopi.org>
Fri, 13 Dec 2013 10:28:59 +0000 (11:28 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 17 Dec 2013 08:11:49 +0000 (09:11 +0100)
commitbe29c4053e00f80964a1a997111d89e7a96adb7d
tree4967df7f5379335b130b2be88d2d9e680feb91d5
parente1804dcf3d099826493e553e870e4fd613266709
Clarify foreach's documentation on valued-containers

- Explain that values() is unnecessary and causes an extra copy.
- Replace "are fastest" with "are faster".
- Briefly explain the snippet.

Change-Id: Iff1d3a0b6140fca1d78157aeeca3d538c4d78b84
Reviewed-by: Albert Astals Cid <albert.astals@canonical.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/doc/src/containers.qdoc