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

Possible error in Qt 6 "Container Classes" documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All

      Description

      It seems there is an error in the equivalence description of Qt 6 containers with STL containers at https://doc-snapshots.qt.io/qt6-dev/containers.html.

      In the section "Qt containers compared with std containers", where it reads:
       

      QMap<Key, T> Similar to std::map<T>.
      QMultiMap<Key, T> Similar to std::multimap<T>.
      QHash<Key, T> Most similar to std::map<T>.
      QMultiHash<Key, T> Most similar to std::multimap<T>.

      It seems it should be:

      QMap<Key, T> Similar to std::map<Key, T>.
      QMultiMap<Key, T> Similar to std::multimap<Key, T>.
      QHash<Key, T> Most similar to std::unordered_map<Key, T>.
      QMultiHash<Key, T> Most similar to std::unordered_multimap<Key, T>.

        Attachments

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

          Activity

            People

            Assignee:
            docteam Qt Documentation Team
            Reporter:
            sandroandrade Sandro S. Andrade
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes