Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83964

QStringView/QLatin1String::arg documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: 5.14.2
    • Fix Version/s: 5.15.0
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All

      Description

      Where can be found the documentation of QLatin1String::arg and QStringView::arg mentionned here https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.14.0/?h=v5.14.0#n210 ? neither on https://doc.qt.io/qt-5/qstringview.html nor on https://doc.qt.io/qt-5/qlatin1string.html. Yet, documentation seems to be written in https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/text/qstringview.cpp#n531

      Additionnaly, how should one choose between QLatin1String("....").arg() / QStringLiteral("....").arg() / QStringView("....").arg(), appart from obvious (but very rare) cases where the formatting string cannot be known at compile time ?

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            docteam Qt Documentation Team
            Reporter:
            ericlemanissier Eric Lemanissier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes