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

Support for more convenient Predicate in removeIf()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.5
    • None

    Description

      Currently `QHash::removeIf()` (and corresponding `erase_if()`) functions support predicates which take either an argument of type `QHash<Key, T>::iterator`, or an argument of type `std::pair<const Key &, T &>`. It would be more convenient if they are also support predicates which take two argument: `const Key &` and `T &` (orĀ `const T &`).

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            glassez Vladimir Golovnev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes