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

Investigate possibility of error handling in QFuture without using exceptions

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 6.0
    • None
    • Core: Threads
    • None
    • 5
    • Qt6_Foundation_ Sprint 6, Qt6_Foundation_ Sprint 7

    Description

      Using exceptions doesn't always fit everyone's programming style. Investigate what approaches can be used to provide an alternative solution. One possibility is using something similar to std::expected, which may be useful to have in general, not only for QFuture. There was a discussion on this topic here: https://lists.qt-project.org/pipermail/development/2020-March/039090.html
       

      Attachments

        For Gerrit Dashboard: QTBUG-83236
        # Subject Branch Project Status CR V

        Activity

          People

            sonakur Sona Kurazyan
            sonakur Sona Kurazyan
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes