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

Possible error in Qt 6 "Container Classes" documentation

    XMLWordPrintable

Details

    • All
    • aeeb77650 (dev), 1a8769deb (6.6), e45543207 (6.5), 92fd009dd (tqtc/lts-6.2), 392ab4490 (tqtc/lts-6.5)

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes