qt6-bb10/tests/auto/corelib
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
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Streamline the code in the conversion to and from utf8 2020-05-14 07:51:45 +02:00
global Get rid of QTextCodec in QTextStream 2020-05-14 07:50:19 +02:00
io Get rid of some QTextCodec leftovers 2020-05-14 07:51:20 +02:00
itemmodels Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00
kernel Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
mimetypes QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
plugin Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
serialization Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text QStringView: add converting constructor from array-like containers 2020-05-14 12:19:47 +00:00
thread QFuture: the result type doesn't have to be a default-constructible 2020-04-23 17:09:52 +02:00
time Teach QDateTimeParser some common time-zone offset formats 2020-05-12 12:45:58 +03:00
tools Enforce that statically allocated array-like containers have 0 capacity 2020-05-14 14:19:47 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00