qt6-bb10/tests/auto
Giuseppe D'Angelo 9e1dc1e8a9 QStringView: add converting constructor from array-like containers
Centralize, rather than keeping adding constructors from any
array-like container.

A more robust implementation, likely following the converting
constructor for std::span ([span.cons]), is out of scope for C++17
and will require C++20's ranges and concepts.

[ChangeLog][QtCore][QStringView] QStringView can now be constructed
from any contiguous container, as long as they hold string-like data.
For instance, it's now possible to create a QStringView object
from a std::vector<char16_t>, a QVarLengthArray<ushort> and so on.

Change-Id: I7043eb194f617e98bd1f8af1237777a93a6c5e75
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2020-05-14 12:19:47 +00:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Add more tests for QtConcurrent::filterReduced() 2020-05-07 15:23:58 +02:00
corelib QStringView: add converting constructor from array-like containers 2020-05-14 12:19:47 +00:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Remove autotest for codecForHtml 2020-05-14 07:50:54 +02:00
guiapplauncher
installed_cmake
network QNetworkReply/http2: Add a contentEncoding test 2020-05-13 13:54:44 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
testlib Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
tools uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
widgets QBasicDrag: Send QDragMoveEvent when modifiers change 2020-05-14 15:19:47 +03:00
xml Remove QTextCodec dependency in the old SAX parser 2020-05-14 07:51:32 +02:00
.prev_CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
auto.pro Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00