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

Add opt-in mechanism to disable QAtomic<T> -> T implicit conversions

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Core: Threads
    • None

    Description

      Just like QT_NO_FOREACH for Q_FOREACH, add a QT_NO_CAST_FROM_ATOMIC to suppress the implicit conversion of QAtomic<T> to T. Then make one module after the next use it, finally make it the default for Qt modules and tools.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            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