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

QString's STL compatibility layer misses value_type typedef and such

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 4.7.4
    • None
    • 2c285b893caae37f132de75bcc77bf5471107689

    Description

      For using QString with STL algorithms some typedefs are missing. Actually only got challenged by the lack of the value_type definition, but looking at QList some more seem to be missing:

      typedef int size_type;
      typedef QChar value_type;
      typedef value_type *pointer;
      typedef const value_type *const_pointer;
      typedef value_type &reference;
      typedef const value_type &const_reference;
      typedef qptrdiff difference_type;

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            hasselmm Mathias Hasselmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes