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

False doc for void QList::resize(qsizetype size)

    XMLWordPrintable

Details

    • All
    • 1
    • Foundation Sprint 78, Foundations Sprint 79

    Description

      https://doc.qt.io/qt-6/qlist.html#resize

      In the documentation for Qt 6 and QList::resize is written:

      Since Qt 5.6, resize() doesn't shrink the capacity anymore. To shed excess capacity, use squeeze().

      This is wrong, because resize() doesn't exist in QList for any Qt 5.x.

      It is also missing something like this:

      This function was introduced in Qt 6.x.

      Attachments

        Activity

          People

            mmutz Marc Mutz
            tago Stefan Junge
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: