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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2, 6.2.0 FF
    • Fix Version/s: None
    • Labels:
      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

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            evgeniy_dushistov evgeniy_dushistov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes