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

Use noexcept to check exception hierarchy during compilation time

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • Future QSR version
    • QSR 2.0
    • Runtime
    • None
    • All

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes