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

qOverload documentation incorrectly implies C++14 compiler portability

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.10.1
    • Documentation
    • None
    • be37b9984605d9a6503b074e78acf612adb4ec43

    Description

      The documentation for qOverload says "qOverload() requires C++14 enabled", but does not clarify that qOverload is a non-portable feature available only in certain C++14 compilers, since it is only enabled by a non-standard C++ experimental __cpp_variable_templates feature in qglobal.h.

      An alternative would be to make qOverload portable across C++14 compilers, as requested in Bug #54808, versus documenting its non-cross-platform nature

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            poelmanc Conrad Poelman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes