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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: Threads
    • Labels:
      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

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

          Activity

            People

            Assignee:
            cnn Qt Core & Network
            Reporter:
            mmutz Marc Mutz
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            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