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

Add QSet::toVector()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • None
    • None
    • None
    • c8aadc79fceac70ec18a3971d61c52930ef5f589 (qt/qtbase/5.15)

    Description

      I have code that fills a QSet to avoid duplicates, but returns a QVector. Currently I have to manually copy the QVector from the QSet, because QSet offers no QVector conversion function. Currently the only way to convert to a QVector using the existing API is to call set.toList().toVector().

      Attachments

        Issue Links

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

          Activity

            People

              sgaist Samuel Gaist
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes