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

std::aligned_{storage,union} are deprecated in C++23

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Commits:
      277c23956c (qt/qtbase/dev) 277c23956c (qt/tqtc-qtbase/dev) 53173a493b (qt/qtbase/6.3) 53173a493b (qt/tqtc-qtbase/6.3) 6f5d6373c9 (qt/tqtc-qtbase/6.2)
    • Sprint:
      Team B Foundation Sprint 56

      Description

      See https://github.com/cplusplus/papers/issues/197 and wg21.link/p1413

      Suggested replacements:

      struct { alignas(T) unsigned char data[sizeof(T)]; } x;
      // or
      union { char dummy; T t; } x;
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mmutz Marc Mutz
              Reporter:
              mmutz Marc Mutz
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change