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

Impact of C++20 deprecations on our code

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Core: Other
    • None
    • C++20 deprecations @ Qt

      C++20 deprecated the following:

      1. implicit capture of this in [=] lambda capture
      2. arithmetic with enums
        E1 | E2
        val * E3
        
      3. some uses of volatile (basically everything except straight loads and stores)
        • already have some fixes in qvolatile_p.h
      4. comma operator in [ ] subscripts (in preparation of C++23 adding multi-dimensional subscripting)

      We need to fix the fallout (most of it done at this point, but we need to continuously fix issues in new code).

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

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: