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

Missing QSet::removeIf() method

    XMLWordPrintable

Details

    • 76e650045 (dev), 6a296fcdc (6.5), 9fcc290b1 (6.6), 4d3542ac9 (tqtc/lts-6.2)

    Description

      In version 6.1, a convenient `removeIf()` method and a free `erase_if()` function with a similar purpose were added to many containers. To my disappointment, I found that `QSet` has nj such method but only `erase_if()` so I have to mix their usage. Why is there such inconsistency? It's hardly intended that way.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            glassez Vladimir Golovnev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes