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

Make possible to lookup QStringView in QHash<QString, Something>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.2.0 FF
    • None

    Description

      It is impossible to find something in `QHash<QString, Something>` without memory allocation, if input data has type `QStringView`.

      It would be nice something like http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0919r2.html (part of C++2a) would be implemented for `QHash`.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-92248
          # Subject Branch Project Status CR V

          Activity

            People

              thiago Thiago Macieira
              evgeniy_dushistov evgeniy_dushistov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change