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

QT_INLINE_SINCE

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.4.0 RC1
    • None
    • Core: Other
    • None
    • 5
    • fed05145bc (qt/qtbase/6.4) fed05145bc (qt/tqtc-qtbase/6.4)
    • Team Two Foundation Sprint 51, Team B Foundation Sprint 59

    Description

      We have now had several requests for inlining previously-exported
      member functions, but no standard mechanism to effect it.

      As QT_REMOVED_SINCE has shown, there is great value in having such a
      standard mechanism, so here is one.

      Develop private API (= macros) to inline a previously exported (member) function,
      by simply

      • marking the declaration with QT_MODULE_INLINE_SINCE
      • moving the definition into the header file (outside the class),
        • wrapping it in QT_MODULE_INLINED_SINCE, and
      • #include'ing the header into the module's removed_api.cpp

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews