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

Introducing a debug mode to the QTL similar to other STL implementations

    XMLWordPrintable

Details

    Description

      A lot of STL implementations have a "debug mode" which eases debugging, for example:

      1) sort(first, last): both iterators must be from the same container and first <= last
      2) dereferencing of iterators is only allowed for valid iterators
      3) binary_search(first, last, value): first and last must fulfill 1) and [first,last] must be a sorted range

      Something like this could be useful in Qt too.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes