qt5base-lts/tests/auto/corelib/text/qstringview
Mårten Nordheim 107ff4c1d6 Q(Any|Utf8)StringView: move array size deduction feature to fromArray
The constructor taking an array literal will now stop at the first
null-terminator encountered.

And fromArray is introduced which only supports array literals.
Constructs a view of the full size. Explicit so it shouldn't be
surprising.

Change-Id: I1497c33a5c12453a95e87c990abe6335b2817081
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-09-18 23:34:52 +02:00
..
.gitignore
CMakeLists.txt Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qstringview.pro QString/View: add tokenize() member functions 2020-06-06 02:07:28 +00:00
tst_qstringview.cpp Q(Any|Utf8)StringView: move array size deduction feature to fromArray 2020-09-18 23:34:52 +02:00