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

Impact of C++20 deprecations on our code

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

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

              Dates

                Created:
                Updated: