QStringView: Remove outdated note about usage with QList
Change-Id: Id1cef09642ccde701e57e8f0a3a3d0e5fcf47e5c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2f8df4d1a8
commit
1ecc884bfd
@ -105,10 +105,6 @@ QT_BEGIN_NAMESPACE
|
||||
allowed in \c constexpr functions). You can use an indexed loop and/or utf16() in
|
||||
\c constexpr contexts instead.
|
||||
|
||||
\note We strongly discourage the use of QList<QStringView>,
|
||||
because QList is a very inefficient container for QStringViews (it would heap-allocate
|
||||
every element). Use QList (or std::vector) to hold QStringViews instead.
|
||||
|
||||
\sa QString, QStringRef
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user