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

MSVC 15.7.6 breaks QtPrivate::FunctionPointer for noexcept functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.11.1
    • Core: Other
    • None
    • Windows

    Description

      Since msvc 15.7.6, in

      /std:c++latest

      or

      /std:c++17

      mode, noexcept is part of the type system.

      However, msvc does not define __cpp_noexcept_function_type. This makes expressions such as : 

      void f(int x) noexcept { } 
      using t1 = QtPrivate::FunctionPointer<decltype(&f)>::Arguments;

       

      unable to compile.

       

      This was discussed a bit here for reference : https://github.com/woboq/verdigris/issues/43

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes