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

QHash heterogeneous lookup depends on C++20 concepts

XMLWordPrintable

    • 8
    • 7fe3cee36 (dev), 722c7edf0 (6.8)

      The heterogeneous lookup feature is conditional on __cpp_concepts, "author's privilege" and "C++17 costs extra". But that precludes ourselves from using the feature, and it's one that's been high on the list of wishes for QHash.

      So the feature should be rewritten in C++17 (enable_if). Minor differences to the semantics of the concepts used before are ok, provided they don't stand in the way of porting to C++20 concepts eventually.

      Acceptance criteria:

      • QHash heterogeneous lookup feature is usable from C++17 builds
      • docs and tests updated

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

            inkane Fabian Kosmale
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes