qt5base-lts/tests/auto/corelib
Marc Mutz d823646db3 containers: add C++11-style c{begin,end}() as alias for const{Begin,End}()
C++11 adds cbegin()/cend() functions for the same reason Qt has
constBegin()/constEnd(). This patch adds these functions to the
Qt containers with the same implementation as constBegin()/constEnd().

It also fixes the return types in the documentation of existing
constFind() functions (documentation only).

C++11 only adds cbegin()/cend() (and crbegin()/crend(), which Qt doesn't have).
In particular, it doesn't add cfind(), so I didn't supply these, even though
Qt comes with constFind().

This is a forward-port of https://qt.gitorious.org/qt/qt/merge_requests/1365.

Change-Id: Ida086b64246b24e25254eafbcb06c8e33388502b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-03-17 09:10:57 +01:00
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs UTF8-Codec test: Fix compilation with g++/C++0X. 2012-03-15 14:51:50 +01:00
global Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
io Verify expected warnings in QSettings autotest. 2012-03-15 06:00:52 +01:00
itemmodels Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
json Trailing comma should result in an error during JSON parsing 2012-03-12 21:38:51 +01:00
kernel Unify QMetaType::TypeFlags detection. 2012-03-14 09:45:07 +01:00
mimetypes QMimeDatabase: Fix crash on empty filename 2012-03-06 12:10:42 +01:00
plugin Fix QLibrary autotest for Windows 2012-02-28 12:45:28 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Fix indentation of QWaitCondition autotest. 2012-03-12 13:14:05 +01:00
tools containers: add C++11-style c{begin,end}() as alias for const{Begin,End}() 2012-03-17 09:10:57 +01:00
xml Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00