doc: Remove invalid link and tone down language
QLatin1StringView::split() appears to be invalid. Pick-to: 6.8 6.9 Change-Id: I11066b8224cce0a6091c758367f602a63c6136a0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
85899ff181
commit
4aff3488b8
@ -32,15 +32,14 @@ QT_BEGIN_NAMESPACE
|
||||
use(*it);
|
||||
\endcode
|
||||
|
||||
\note You should never, ever, name the template arguments of a
|
||||
\note You should never name the template arguments of a
|
||||
QStringTokenizer explicitly. You may write
|
||||
\c{QStringTokenizer{string, separator}} (without template
|
||||
arguments), or use the qTokenize() function, or the
|
||||
QStringView::split() or QLatin1StringView::split() member functions
|
||||
and store the return value only in \c{auto} variables:
|
||||
\c{QStringTokenizer{string, separator}} (without template arguments),
|
||||
or use either QStringView::tokenize() or QLatin1StringView::tokenize(),
|
||||
then store the return value only in an \c{auto} variable:
|
||||
|
||||
\code
|
||||
auto result = string.split(sep);
|
||||
auto result = strview.tokenize(sep);
|
||||
\endcode
|
||||
|
||||
This is because the template arguments of QStringTokenizer have a
|
||||
|
Loading…
x
Reference in New Issue
Block a user