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

Add a qdoc macro for the (non-member) swap() documentation blurb

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other, Documentation
    • None
    • 8
    • Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124

    Description

      Add an \adlswap macro (or command) capable of producing the usual member-swap() documentation blurb: https://doc.qt.io/qt-6/qstring.html#swap also for non-members, which we usually neglected to document, but some classes do (e.g. https://doc.qt.io/qt-6/qscopedpointer-obsolete.html#swap (in case https://codereview.qt-project.org/c/qt/qtbase/+/596302 has merged: that's the binary (non-member) swap overload at the time of writing).

      Attachments

        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:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes