qt6-bb10/src
Ahmad Samir 2fd9735e7a Add a verify() method to all sequential containers
A helper method encasuplating the asserts related to index into the
container and length, modelled after the QVLA::verify().

`pos <= size` is OK because if pos == size, the e.g. sliced()'ed
container is just going to be empty.

Normalize how verify() is used, the first arg is an index and the second
a length.

This method is constexpr even in QString/QByteArray merely for
consistency with similar methods in other string classes (this
necessitates using `d.size` in verify() in QString/QBA because size()
isn't constexpr).

Change-Id: I90e3c56d76c802259297a06d11d46ee342a1daf2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-09-28 23:45:24 +03:00
..
3rdparty Update public suffix list 2023-09-20 22:33:18 +02:00
android Android: bump Android target API level to 33 2023-09-23 17:38:23 +00:00
assets Add XDG theme file for example icons 2023-06-26 17:32:10 +00:00
concurrent [docs] Link from QtConcurent::run() to QThreadPool::start(Callable&&) 2023-08-04 19:49:32 +02:00
corelib Add a verify() method to all sequential containers 2023-09-28 23:45:24 +03:00
dbus QDBusConnectionPrivate: Fix race in sendWithReply() 2023-09-22 21:02:45 +02:00
entrypoint src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
gui Avoid crash when keysymToQtKey(keysym, Qt::ControlModifier) is called 2023-09-28 17:34:26 +00:00
network Doc: Don't mention setDefaultCiphers() (removed in Qt 6.0) 2023-09-28 19:29:31 +02:00
opengl QOpenGLCompositorBackingStore: ensure backing store on flushed windows 2023-09-13 16:06:33 +02:00
openglwidgets QOpenGLWidget: Call glClear in the default paintGL implementation 2023-09-04 11:46:29 +02:00
platformsupport kms: Print the screen virtual position in the logs 2023-09-25 15:12:05 +02:00
plugins SQLite: Handle identifiers correctly 2023-09-28 20:51:33 +08:00
printsupport qprintengine_mac: use const methods more 2023-09-25 17:17:57 +03:00
sql Add QSqlField::swap() documentation 2023-09-12 02:35:03 +02:00
testlib QTestPrivate property tests: don't try to create abstract types 2023-09-28 13:51:33 +02:00
tools macdeployqt: Also look for app libraries with .so extension 2023-09-27 13:36:12 +02:00
widgets QAccessibleComboBox: Cleanup comboBox() calls 2023-09-27 19:44:59 +02:00
xml Remove unused snippets/rsslisting files 2023-09-22 15:44:27 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00