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

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • Future QSR version
    • QSR 2.0
    • Runtime
    • None
    • 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.

      Attachments

        Issue Links

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

          Activity

            People

              teemu.holappa Teemu Holappa
              jani.launonen Jani Launonen (Inactive)
              Miao Luo Miao Luo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes