Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1196

Use noexcept to check exception hierarchy during compilation time

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: QSR 2.0
    • Fix Version/s: QSR 2.1
    • Component/s: Runtime
    • Labels:
      None
    • Platform/s:
      All

      Description

      According to this site https://www.learncpp.com/cpp-tutorial/exception-specifications-and-noexcept/ noexcept can be used to check during compilation time that the function does not throw an exception. Conversely, one could use this to get feed back from compiler, what are the exceptions that are thrown and thus ease the documentation of exceptions.

        TestRail: Results

          Attachments

            Issue Links

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

              Activity

                People

                Assignee:
                jani.launonen Jani Launonen
                Reporter:
                jani.launonen Jani Launonen
                PM Owner:
                Veli-Pekka Heinonen Veli-Pekka Heinonen
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Gerrit Reviews

                    There are no open Gerrit changes

                      TestRail: Runs

                        TestRail: Cases