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

QStringView/QLatin1String::arg documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.15.0
    • 5.14.2
    • Documentation
    • None
    • 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

            docteam Qt Documentation Team
            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