diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp index 0debfbf4279..f0368e9ba59 100644 --- a/src/corelib/text/qstringview.cpp +++ b/src/corelib/text/qstringview.cpp @@ -179,7 +179,7 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template QStringView::QStringView(const Char *str, qsizetype len) + \fn template = true> QStringView::QStringView(const Char *str, qsizetype len) Constructs a string view on \a str with length \a len. @@ -195,7 +195,7 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template QStringView::QStringView(const Char *first, const Char *last) + \fn template = true> QStringView::QStringView(const Char *first, const Char *last) Constructs a string view on \a first with length (\a last - \a first). @@ -281,7 +281,7 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template static QStringView QStringView::fromArray(const Char (&string)[Size]) noexcept + \fn template = true> static QStringView QStringView::fromArray(const Char (&string)[Size]) noexcept Constructs a string view on the full character string literal \a string, including any trailing \c{Char(0)}. If you don't want the