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

QFlatMap has no operator== and operator!=

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.10
    • None

      QFlatMap has no == and no != operators.
      I guess it is missing something like:

          friend bool comparesEqual(const QFlatMap &a, const QFlatMap &b) noexcept
          {
              return std::equals(a.begin(), a.end(), b.begin(), b.end());
          }
          Q_DECLARE_EQUALITY_COMPARABLE(QFlatMap);
      

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

            thiago Thiago Macieira
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes