diff options
Diffstat (limited to 'src/corelib/text/qstringview.cpp')
-rw-r--r-- | src/corelib/text/qstringview.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp index ca9b6d1b7b..75952066b8 100644 --- a/src/corelib/text/qstringview.cpp +++ b/src/corelib/text/qstringview.cpp @@ -305,7 +305,7 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template <typename StdBasicString> QStringView::QStringView(const StdBasicString &str) + \fn template <typename Container, if_compatible_container<Container>> QStringView::QStringView(const Container &str) Constructs a string view on \a str. The length is taken from \c{str.size()}. @@ -785,6 +785,19 @@ QT_BEGIN_NAMESPACE */ /*! + \fn QStringView::operator==(QStringView lhs, QStringView rhs) + \fn QStringView::operator!=(QStringView lhs, QStringView rhs) + \fn QStringView::operator< (QStringView lhs, QStringView rhs) + \fn QStringView::operator<=(QStringView lhs, QStringView rhs) + \fn QStringView::operator> (QStringView lhs, QStringView rhs) + \fn QStringView::operator>=(QStringView lhs, QStringView rhs) + + Operators for comparing \a lhs to \a rhs. + + \sa compare() +*/ + +/*! \fn bool QStringView::startsWith(QStringView str, Qt::CaseSensitivity cs) const \fn bool QStringView::startsWith(QLatin1String l1, Qt::CaseSensitivity cs) const \fn bool QStringView::startsWith(QChar ch) const |