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

[docs] Add a \memberswap etc macros specially for RAII classes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      QSemaphoreReleaser has very nice documentation for it's swap() member¹ and move SMFs²³. This kind of documentation would also benefit other RAII classes, such as QMutexLocker and QSignalBlocker. So add RAII-specific macros to document them.

       

      ¹ https://doc.qt.io/qt-6/qsemaphorereleaser.html#swap

      ² https://doc.qt.io/qt-6/qsemaphorereleaser.html#QSemaphoreReleaser-1

      ³ https://doc.qt.io/qt-6/qsemaphorereleaser.html#operator-eq

       

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

            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

              Created:
              Updated:

                There are no open Gerrit changes